[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
03/22: gnu: clyrics: Fetch sources from git.
From: |
Ricardo Wurmus |
Subject: |
03/22: gnu: clyrics: Fetch sources from git. |
Date: |
Sun, 11 Nov 2018 07:11:52 -0500 (EST) |
rekado pushed a commit to branch master
in repository guix.
commit 234a1825b20ebee516cbd23af1dbcb07be7f2be8
Author: Ricardo Wurmus <address@hidden>
Date: Sun Nov 11 12:01:25 2018 +0100
gnu: clyrics: Fetch sources from git.
* gnu/packages/music.scm (clyrics)[source]: Fetch from git.
[native-inputs]: Remove.
[arguments]: Adjust builder.
---
gnu/packages/music.scm | 21 +++++++--------------
1 file changed, 7 insertions(+), 14 deletions(-)
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index af24c96..012d67a 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -4156,17 +4156,15 @@ at @code{musicbrainz.org}.")
(version "0.10")
(source
(origin
- (method url-fetch)
- (uri (string-append
- "https://github.com/trizen/clyrics/archive/"
- version ".tar.gz"))
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/trizen/clyrics.git")
+ (commit version)))
+ (file-name (git-file-name name version))
(sha256
(base32
- "1l0cg26afnjv8cgk0jbiavbyvq55q1djyigzmi526rpcjjwq9jwn"))
- (file-name (string-append name "-" version ".tar.gz"))))
+ "1qvj4dyipkkdccx5hci4z0q23i54ldk6hh7x5m35a7f70rrj6fbk"))))
(build-system trivial-build-system)
- (native-inputs `(("tar" ,tar)
- ("gzip" ,gzip)))
(inputs
`(("bash" ,bash) ;for the wrapped program
("perl" ,perl)
@@ -4183,17 +4181,12 @@ at @code{musicbrainz.org}.")
(ice-9 match)
(srfi srfi-26))
(let* ((source (assoc-ref %build-inputs "source"))
- (tar (assoc-ref %build-inputs "tar"))
- (gzip (assoc-ref %build-inputs "gzip"))
(output (assoc-ref %outputs "out")))
(setenv "PATH"
(string-append
- (assoc-ref %build-inputs "gzip") "/bin" ":"
(assoc-ref %build-inputs "bash") "/bin" ":"
(assoc-ref %build-inputs "perl") "/bin" ":"))
- (invoke (string-append tar "/bin/tar") "xvf"
- source)
- (chdir ,(string-append "clyrics-" version))
+ (copy-recursively source (getcwd))
(patch-shebang "clyrics")
(substitute* "clyrics"
(("/usr/share") output))
- branch master updated (08bc7f2 -> 9066424), Ricardo Wurmus, 2018/11/11
- 01/22: gnu: milkytracker: Fetch sources from git., Ricardo Wurmus, 2018/11/11
- 04/22: gnu: schismtracker: Fetch sources from git., Ricardo Wurmus, 2018/11/11
- 05/22: gnu: lilypond: Use INVOKE., Ricardo Wurmus, 2018/11/11
- 06/22: gnu: schismtracker: Remove custom bootstrap phase., Ricardo Wurmus, 2018/11/11
- 07/22: gnu: hpcguix-web: Do not re-bootstrap., Ricardo Wurmus, 2018/11/11
- 02/22: gnu: lmms: Fetch sources from git., Ricardo Wurmus, 2018/11/11
- 03/22: gnu: clyrics: Fetch sources from git.,
Ricardo Wurmus <=
- 13/22: gnu: libtar: Remove custom bootstrap phase., Ricardo Wurmus, 2018/11/11
- 14/22: gnu: xdelta: Fetch sources from git., Ricardo Wurmus, 2018/11/11
- 16/22: gnu: scsh: Remove custom bootstrap phase., Ricardo Wurmus, 2018/11/11
- 17/22: gnu: libharu: Fetch sources from git., Ricardo Wurmus, 2018/11/11
- 18/22: gnu: libharu: Remove custom bootstrap phase., Ricardo Wurmus, 2018/11/11
- 10/22: gnu: inotify-tools: Fetch sources from git., Ricardo Wurmus, 2018/11/11
- 09/22: gnu: par2cmdline: Remove custom bootstrap phase., Ricardo Wurmus, 2018/11/11
- 11/22: gnu: inotify-tools: Remove custom bootstrap phase., Ricardo Wurmus, 2018/11/11
- 08/22: gnu: par2cmdline: Fetch sources from git., Ricardo Wurmus, 2018/11/11
- 12/22: gnu: minizip: Remove custom bootstrap phase., Ricardo Wurmus, 2018/11/11