From 4fd84cec2bff566ddf9eb60ddaa06f86348d63b2 Mon Sep 17 00:00:00 2001 From: Michal Atlas Date: Thu, 23 Nov 2023 09:47:06 +0000 Subject: 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 --- gnu/packages/lisp-check.scm | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'gnu/packages') 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)) + -- cgit 1.4.1