mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-25 05:48:07 -05:00
gnu: chez-web: Use GIT- helpers.
* gnu/packages/chez.scm (chez-web)[version]: Use GIT-VERSION. [source]: Use GIT-FILE-NAME.
This commit is contained in:
parent
f9cd13c95d
commit
f01b17b374
1 changed files with 3 additions and 4 deletions
|
@ -264,16 +264,15 @@ (define-public chez-web
|
||||||
(revision "1"))
|
(revision "1"))
|
||||||
(package
|
(package
|
||||||
(name "chez-web")
|
(name "chez-web")
|
||||||
;; release 2.0 is different and doesn't work.
|
;; Release 2.0 is different and doesn't work.
|
||||||
(version (string-append "2.0-" revision "."
|
(version (git-version "2.0" revision commit))
|
||||||
(string-take commit 7)))
|
|
||||||
(source
|
(source
|
||||||
(origin
|
(origin
|
||||||
(method git-fetch)
|
(method git-fetch)
|
||||||
(uri (git-reference
|
(uri (git-reference
|
||||||
(url "https://github.com/arcfide/ChezWEB.git")
|
(url "https://github.com/arcfide/ChezWEB.git")
|
||||||
(commit commit)))
|
(commit commit)))
|
||||||
(file-name (string-append name "-" version "-checkout"))
|
(file-name (git-file-name name version))
|
||||||
(sha256
|
(sha256
|
||||||
(base32 "1dq25qygyncbfq4kwwqqgyyakfqjwhp5q23vrf3bff1p66nyfl3b"))))
|
(base32 "1dq25qygyncbfq4kwwqqgyyakfqjwhp5q23vrf3bff1p66nyfl3b"))))
|
||||||
(build-system gnu-build-system)
|
(build-system gnu-build-system)
|
||||||
|
|
Loading…
Reference in a new issue