me
/
guix
Archived
1
0
Fork 0

gnu: cl-parse-js: Improve package definition.

* gnu/packages/lisp-xyz.scm (sbcl-parse-js)[source]: Use git-version and
  git-file-name functions.
Guillaume Le Vaillant 2022-03-03 10:27:14 +01:00
parent 144f999b88
commit 7f27ce8af3
No known key found for this signature in database
GPG Key ID: 6BE8208ADF21FE3F
1 changed files with 2 additions and 2 deletions

View File

@ -1088,14 +1088,14 @@ multiple inspectors with independent history.")
(revision "1"))
(package
(name "sbcl-parse-js")
(version (string-append "0.0.0-" revision "." (string-take commit 9)))
(version (git-version "0.0.0" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "http://marijn.haverbeke.nl/git/parse-js")
(commit commit)))
(file-name (string-append name "-" commit "-checkout"))
(file-name (git-file-name "cl-parse-js" version))
(sha256
(base32
"1wddrnr5kiya5s3gp4cdq6crbfy9fqcz7fr44p81502sj3bvdv39"))))