[PATCH] gnu: Add cl-which.

DoneSubmitted by Foo Chuan Wei.
Details
2 participants
  • Foo Chuan Wei
  • Guillaume Le Vaillant
Owner
unassigned
Severity
normal
F
F
Foo Chuan Wei wrote on 17 Nov 2021 06:43
(address . guix-patches@gnu.org)
PU1PR01MB215522D40B41DFE07346FD2D8D9A9@PU1PR01MB2155.apcprd01.prod.exchangelabs.com
* gnu/packages/lisp-xyz.scm (cl-which, ecl-which, sbcl-which):
New variables.
---
gnu/packages/lisp-xyz.scm | 32 ++++++++++++++++++++++++++++++++
1 file changed, 32 insertions(+)

Toggle diff (47 lines)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 4b17c173c9..3aa31f08ba 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -18871,6 +18871,38 @@ This package provides the text-based interface for Chemboy.")
 (define-public ecl-cl-pass
   (sbcl-package->ecl-package sbcl-cl-pass))
 
+(define-public sbcl-which
+  (let ((commit "b2333e4fcacab6e5d85eecd28b5ef4944bda1448")
+        (revision "1"))
+    (package
+      (name "sbcl-which")
+      (version (git-version "0.1" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/eudoxia0/which")
+               (commit commit)))
+         (file-name (git-file-name "cl-which" version))
+         (sha256
+          (base32 "127pm9h4rm4w9aadw5yvamnfzhk2rr69kchx10rf9k7sk7izqqfk"))))
+      (build-system asdf-build-system/sbcl)
+      (inputs
+       `(("cl-fad" ,sbcl-cl-fad)
+         ("path-parse" ,sbcl-path-parse)))
+      (native-inputs
+       `(("fiveam" ,sbcl-fiveam)))
+      (home-page "https://github.com/eudoxia0/which")
+      (synopsis "The which command in Common Lisp")
+      (description "The @code{which} UNIX command in Common Lisp.")
+      (license license:expat))))
+
+(define-public cl-which
+  (sbcl-package->cl-source-package sbcl-which))
+
+(define-public ecl-which
+  (sbcl-package->ecl-package sbcl-which))
+
 (define-public sbcl-cl-tld
   ;; No release.
   (let ((commit "6529c70042cf6e82be39bc522e87ad87da08f1c9"))

base-commit: 02a67810e566e8402e0b927c81ae39391762767d
-- 
2.25.1
G
G
Guillaume Le Vaillant wrote on 19 Nov 2021 11:02
(name . Foo Chuan Wei)(address . chuanwei.foo@hotmail.com)(address . 51911-done@debbugs.gnu.org)
87mtm0a2dh.fsf@kitej
Patch pushed as 04ed4a0e05c13c4fec499fe1f952f535c00c4000 with a modified
description.
Thanks.
-----BEGIN PGP SIGNATURE-----

iIUEAREKAC0WIQTLxZxm7Ce5cXlAaz5r6CCK3yH+PwUCYZd2eg8cZ2x2QHBvc3Rl
by5uZXQACgkQa+ggit8h/j/FUQD/cihHnyP0PvI8WM1gajxhjX/G2VGE/5THf2fD
JPq779wA/3EAibSOEovX23yVYUp6+aHg638jnXZzRzjHmlPgEX3V
=IEcq
-----END PGP SIGNATURE-----

Closed
?
Your comment

This issue is archived.

To comment on this conversation send email to 51911@debbugs.gnu.org