Skip to content
Snippets Groups Projects
Unverified Commit dcc26267 authored by Tobias Geerinckx-Rice's avatar Tobias Geerinckx-Rice
Browse files

gnu: chez-sockets: Use GIT- helpers.

* gnu/packages/chez.scm (chez-sockets)[version]: Use GIT-VERSION.
[source]: Use GIT-FILE-NAME.
parent 2245f210
No related branches found
No related tags found
No related merge requests found
...@@ -333,15 +333,14 @@ (define-public chez-sockets ...@@ -333,15 +333,14 @@ (define-public chez-sockets
(revision "1")) (revision "1"))
(package (package
(name "chez-sockets") (name "chez-sockets")
(version (string-append "0.0-" revision "." (version (git-version "0.0.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/chez-sockets.git") (url "https://github.com/arcfide/chez-sockets.git")
(commit commit))) (commit commit)))
(file-name (string-append name "-" version "-checkout")) (file-name (git-file-name name version))
(sha256 (sha256
(base32 "1n5fbwwz51fdzvjackgmnsgh363g9inyxv7kmzi0469cwavwcx5m")))) (base32 "1n5fbwwz51fdzvjackgmnsgh363g9inyxv7kmzi0469cwavwcx5m"))))
(build-system gnu-build-system) (build-system gnu-build-system)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment