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:
Tobias Geerinckx-Rice 2019-02-15 17:27:38 +01:00
parent f9cd13c95d
commit f01b17b374
No known key found for this signature in database
GPG Key ID: 0DB0FF884F556D79
1 changed files with 3 additions and 4 deletions

View File

@ -264,16 +264,15 @@ and 32-bit PowerPC architectures.")
(revision "1"))
(package
(name "chez-web")
;; release 2.0 is different and doesn't work.
(version (string-append "2.0-" revision "."
(string-take commit 7)))
;; Release 2.0 is different and doesn't work.
(version (git-version "2.0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/arcfide/ChezWEB.git")
(commit commit)))
(file-name (string-append name "-" version "-checkout"))
(file-name (git-file-name name version))
(sha256
(base32 "1dq25qygyncbfq4kwwqqgyyakfqjwhp5q23vrf3bff1p66nyfl3b"))))
(build-system gnu-build-system)