summary refs log tree commit diff
path: root/gnu/packages
diff options
context:
space:
mode:
authorMichal Atlas <michal_atlas+git@posteo.net>2023-11-23 09:47:06 +0000
committerjgart <jgart@dismail.de>2023-11-23 10:11:20 -0600
commit4fd84cec2bff566ddf9eb60ddaa06f86348d63b2 (patch)
tree3e226f6e387034f7de1b757db48a9145163d7b55 /gnu/packages
parentc26ed5d6b971af11894015979f1e260df571a2be (diff)
downloadguix-4fd84cec2bff566ddf9eb60ddaa06f86348d63b2.tar.gz
gnu: Add cl-lisp-critic.
* gnu/packages/lisp-check.scm (cl-lisp-critic, sbcl-lisp-critic,
ecl-lisp-critic): New variables.

Change-Id: I38ed8af8f4316f47695a22e949b931770e350c1e
Signed-off-by: jgart <jgart@dismail.de>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/lisp-check.scm28
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/lisp-check.scm b/gnu/packages/lisp-check.scm
index 63a16d608c..7ce74316eb 100644
--- a/gnu/packages/lisp-check.scm
+++ b/gnu/packages/lisp-check.scm
@@ -1149,3 +1149,31 @@ on the XPTest package by Craig Brozensky and the JUnit package by Kent Beck.")
 
 (define-public ecl-xlunit
   (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)))
+
+(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))
+