From f42e54dfaaece18a5065ddd328750d8b316605f3 Mon Sep 17 00:00:00 2001 From: Sharlatan Hellseher Date: Sat, 12 Dec 2020 00:21:24 +0000 Subject: gnu: Add cl-command-line-arguments. * gnu/packages/lisp-xyz.scm (cl-command-line-arguments, ecl-command-line-arguments, sbcl-command-line-arguments): New variables. Signed-off-by: Guillaume Le Vaillant --- gnu/packages/lisp-xyz.scm | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index f77e949fea..021e540f71 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -144,6 +144,35 @@ In order to make one or several variables file-local, use the macros (define-public ecl-net.didierverna.asdf-flv (sbcl-package->ecl-package sbcl-net.didierverna.asdf-flv)) +(define-public sbcl-command-line-arguments + (let ((commit "fbac862fb01c0e368141204f3f639920462c23fe") + (revision "1")) + (package + (name "sbcl-command-line-arguments") + (version (git-version "2.0.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/fare/command-line-arguments") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "054m1ikndzqf72mb9ajaa64136cwr3bgag4yfbi1574a9vq75mjq")))) + (build-system asdf-build-system/sbcl) + (home-page "https://github.com/fare/command-line-arguments") + (synopsis "Trivial command-line argument parsing library for Common Lisp") + (description "This is a library to abstract away the parsing of +Unix-style command-line arguments. Use it in conjunction with asdf:program-op +or cl-launch for portable processing of command-line arguments.") + (license license:expat)))) + +(define-public ecl-command-line-arguments + (sbcl-package->ecl-package sbcl-command-line-arguments)) + +(define-public cl-command-line-arguments + (sbcl-package->cl-source-package sbcl-command-line-arguments)) + (define-public sbcl-fiveam (package (name "sbcl-fiveam") -- cgit v1.2.3