diff options
author | Tobias Geerinckx-Rice <me@tobias.gr> | 2019-02-15 17:28:28 +0100 |
---|---|---|
committer | Tobias Geerinckx-Rice <me@tobias.gr> | 2019-02-16 19:02:07 +0100 |
commit | dcc262672c5a80302c98ea4b54e6d97ed77a3986 (patch) | |
tree | 7c5df0d4088f2df620d51e1b0ed0b37fdf240272 /gnu/packages/chez.scm | |
parent | 2245f210ea5ef729408aba3f9795cf69b2805e67 (diff) | |
download | guix-dcc262672c5a80302c98ea4b54e6d97ed77a3986.tar guix-dcc262672c5a80302c98ea4b54e6d97ed77a3986.tar.gz |
gnu: chez-sockets: Use GIT- helpers.
* gnu/packages/chez.scm (chez-sockets)[version]: Use GIT-VERSION.
[source]: Use GIT-FILE-NAME.
Diffstat (limited to 'gnu/packages/chez.scm')
-rw-r--r-- | gnu/packages/chez.scm | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/gnu/packages/chez.scm b/gnu/packages/chez.scm index 98742eede4..7d0042872e 100644 --- a/gnu/packages/chez.scm +++ b/gnu/packages/chez.scm @@ -333,15 +333,14 @@ programming in Scheme.") (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) |