mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2024-12-24 21:38:07 -05:00
gnu: chez-sockets: Use GIT- helpers.
* gnu/packages/chez.scm (chez-sockets)[version]: Use GIT-VERSION. [source]: Use GIT-FILE-NAME.
This commit is contained in:
parent
2245f210ea
commit
dcc262672c
1 changed files with 2 additions and 3 deletions
|
@ -333,15 +333,14 @@ (define-public chez-sockets
|
|||
(revision "1"))
|
||||
(package
|
||||
(name "chez-sockets")
|
||||
(version (string-append "0.0-" revision "."
|
||||
(string-take commit 7)))
|
||||
(version (git-version "0.0.0" revision commit))
|
||||
(source
|
||||
(origin
|
||||
(method git-fetch)
|
||||
(uri (git-reference
|
||||
(url "https://github.com/arcfide/chez-sockets.git")
|
||||
(commit commit)))
|
||||
(file-name (string-append name "-" version "-checkout"))
|
||||
(file-name (git-file-name name version))
|
||||
(sha256
|
||||
(base32 "1n5fbwwz51fdzvjackgmnsgh363g9inyxv7kmzi0469cwavwcx5m"))))
|
||||
(build-system gnu-build-system)
|
||||
|
|
Loading…
Reference in a new issue