summary refs log tree commit diff
diff options
context:
space:
mode:
authorjgart <jgart@dismail.de>2023-11-23 10:33:44 -0600
committerjgart <jgart@dismail.de>2023-11-23 10:55:25 -0600
commit0083a2265960f8228112c36e0d10eb974ff9d1f1 (patch)
treef5abce522960fe6121a3e5d4d0671baac6052eda
parent4fd84cec2bff566ddf9eb60ddaa06f86348d63b2 (diff)
downloadguix-0083a2265960f8228112c36e0d10eb974ff9d1f1.tar.gz
gnu: sbcl-lisp-critic: Update to 1.1-ea19f82.
* gnu/packages/lisp-xyz.scm (sbcl-lisp-critic): Update to 1.1-ea19f82.
[define-public]: Refactor to use let block for getting commit and
revision.
[version]: Add in version mentioned in ASD file.
[source]: Pass in commit variable.

Change-Id: Ie2ee4b77aab815c69445a8800e25631b6c9ab4a7
-rw-r--r--gnu/packages/lisp-check.scm41
1 files changed, 21 insertions, 20 deletions
diff --git a/gnu/packages/lisp-check.scm b/gnu/packages/lisp-check.scm
index 7ce74316eb..5f5e39c193 100644
--- a/gnu/packages/lisp-check.scm
+++ b/gnu/packages/lisp-check.scm
@@ -1151,29 +1151,30 @@ on the XPTest package by Craig Brozensky and the JUnit package by Kent Beck.")
   (sbcl-package->ecl-package sbcl-xlunit))
 
 (define-public sbcl-lisp-critic
-  (package
-    (name "sbcl-lisp-critic")
-    (version "0.0.0")
-    (source
-     (origin
-       (method git-fetch)
-       (uri (git-reference
-             (url "https://github.com/g000001/lisp-critic")
-             (commit "fb70c69dc61a53fb069b24edebcfb0de813a176b")))
-       (file-name (git-file-name name version))
-       (sha256
-        (base32 "059vfdn8ds44hihhjmylp059zl2gzghiipcigvjd51sb6zc6f0zy"))))
-    (build-system asdf-build-system/sbcl)
-    (synopsis "Common Lisp linter")
-    (description "The Lisp Critic scans your code for instances of bad
-Lisp programming practice.")
-    (home-page
-     "https://courses.cs.northwestern.edu/325/exercises/critic.html#critic")
-    (license license:expat)))
+  (let ((commit "ea19f82a168a6119ac1b10d0f457c01a7119602f")
+        (revision "1"))
+    (package
+      (name "sbcl-lisp-critic")
+      (version (git-version "1.1" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/g000001/lisp-critic")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "15zg05pqfs2dhc5j7gfkwjmxawaizjpyb0p7386mpl4w93l9h84l"))))
+      (build-system asdf-build-system/sbcl)
+      (synopsis "Common Lisp linter")
+      (description "The Lisp Critic scans your code for instances of bad
+  Lisp programming practice.")
+      (home-page
+       "https://courses.cs.northwestern.edu/325/exercises/critic.html#critic")
+      (license license:expat))))
 
 (define-public cl-lisp-critic
   (sbcl-package->cl-source-package sbcl-lisp-critic))
 
 (define-public ecl-lisp-critic
   (sbcl-package->ecl-package sbcl-lisp-critic))
-