diff options
author | Guillaume Le Vaillant <glv@posteo.net> | 2022-03-03 10:37:25 +0100 |
---|---|---|
committer | Guillaume Le Vaillant <glv@posteo.net> | 2022-03-03 16:21:22 +0100 |
commit | 5488e0556bbacd30fca99ffa99417276df8cb87b (patch) | |
tree | 41f6c8d1f2d96cbc540ee2b16e7a5fd2b101f090 | |
parent | ceb915db7e592d01d5848eba2831191bcdce40be (diff) | |
download | guix-5488e0556bbacd30fca99ffa99417276df8cb87b.tar.gz |
gnu: cl-uglify-js: Improve package definition.
* gnu/packages/lisp-xyz.scm (sbcl-cl-uglify-js)[source]: Use git-version function.
-rw-r--r-- | gnu/packages/lisp-xyz.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 96d3f69478..7910dd7aef 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -1183,14 +1183,14 @@ It is similar to the @code{CL:LOOP} macro, with these distinguishing marks: (revision "1")) (package (name "sbcl-cl-uglify-js") - (version (string-append "0.1-" revision "." (string-take commit 9))) + (version (git-version "0.1" revision commit)) (source (origin (method git-fetch) (uri (git-reference (url "https://github.com/mishoo/cl-uglify-js") (commit commit))) - (file-name (git-file-name name version)) + (file-name (git-file-name "cl-uglify-js" version)) (sha256 (base32 "0k39y3c93jgxpr7gwz7w0d8yknn1fdnxrjhd03057lvk5w8js27a")))) |