[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: gnu: Add cmd.
From: |
guix-commits |
Subject: |
02/02: gnu: Add cmd. |
Date: |
Wed, 13 Jan 2021 09:18:39 -0500 (EST) |
ambrevar pushed a commit to branch master
in repository guix.
commit dc9c866f6f7b32fa20f35487746d3535d09c6382
Author: Pierre Neidhardt <mail@ambrevar.xyz>
AuthorDate: Wed Jan 13 15:18:08 2021 +0100
gnu: Add cmd.
* gnu/packages/lisp-xyz.scm (cl-cmd, ecl-cmd, sbcl-cmd): New variables.
---
gnu/packages/lisp-xyz.scm | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index dff6dda..56e886e 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -13048,3 +13048,37 @@ standard library.")
(define-public cl-shlex
(sbcl-package->cl-source-package sbcl-shlex))
+
+(define-public sbcl-cmd
+ (let ((commit "8e68274a935ae61f38d3309c08765d8a49d09c1f"))
+ (package
+ (name "sbcl-cmd")
+ (version (git-version "0.0.1" "1" commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/ruricolist/cmd/")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "06bwwhy7wmk6fpjrqj1bfscn8rnmk8z9kwc00adp8iq6w5yjsbbj"))))
+ (build-system asdf-build-system/sbcl)
+ (inputs
+ `(("alexandria" ,sbcl-alexandria)
+ ("serapeum" ,sbcl-serapeum)
+ ("shlex" ,sbcl-shlex)
+ ("trivia" ,sbcl-trivia)))
+ (home-page "https://github.com/ruricolist/cmd")
+ (synopsis "Conveniently run external programs from Common Lisp")
+ (description
+ "A utility for running external programs, built on UIOP.
+Cmd is designed to be natural to use, protect against shell interpolation and
+be usable from multi-threaded programs.")
+ (license license:expat))))
+
+(define-public ecl-cmd
+ (sbcl-package->ecl-package sbcl-cmd))
+
+(define-public cl-cmd
+ (sbcl-package->ecl-package sbcl-cmd))