diff options
author | Thomas Albers Raviola <thomas@thomaslabs.org> | 2022-04-18 22:28:19 +0200 |
---|---|---|
committer | Guillaume Le Vaillant <glv@posteo.net> | 2022-04-20 13:31:28 +0200 |
commit | 101edbe63a887678722bc26cd85a7b7f5637428f (patch) | |
tree | 57fdccdbfc6994d3aed13557c5948d37d0016183 /gnu | |
parent | ffb616b69dced25b840f2e5178062072d89623eb (diff) | |
download | guix-101edbe63a887678722bc26cd85a7b7f5637428f.tar guix-101edbe63a887678722bc26cd85a7b7f5637428f.tar.gz |
gnu: Add cl-just-getopt-parser.
* gnu/packages/lisp-xyz.scm (sbcl-just-getopt-parser,
ecl-just-getopt-parser, cl-just-getopt-parser): New variables.
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/lisp-xyz.scm | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index 9317108f4c..2e8b957c53 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -33,6 +33,7 @@ ;;; Copyright © 2021 Jacob MacDonald <jaccarmac@gmail.com> ;;; Copyright © 2022 Jai Vetrivelan <jaivetrivelan@gmail.com> ;;; Copyright © 2022 Paul A. Patience <paul@apatience.com> +;;; Copyright © 2022 Thomas Albers Raviola <thomas@thomaslabs.org> ;;; ;;; This file is part of GNU Guix. ;;; @@ -21009,3 +21010,32 @@ the 9p network filesystem protocol.") (define-public cl-purgatory (sbcl-package->cl-source-package sbcl-purgatory)) + +(define-public sbcl-just-getopt-parser + (package + (name "sbcl-just-getopt-parser") + (version "2021.11") + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/tlikonen/cl-just-getopt-parser") + (commit version))) + (sha256 + (base32 "0ngh8b51ngh3bqacl40j6wwiinhwxswsy02d9k7qlzv9sbjxay4s")) + (file-name (git-file-name "cl-just-getopt-parser" version)))) + (build-system asdf-build-system/sbcl) + (synopsis "Getopt-like command-line parser for Common Lisp") + (description + "This package provides the @code{getopt} function to parse command-line +options. The options are organized in valid options, other arguments and +unknown arguments. Optional Lisp conditions for error situations are also +defined.") + (home-page "https://github.com/tlikonen/cl-just-getopt-parser") + (license license:cc0))) + +(define-public ecl-just-getopt-parser + (sbcl-package->ecl-package sbcl-just-getopt-parser)) + +(define-public cl-just-getopt-parser + (sbcl-package->cl-source-package sbcl-just-getopt-parser)) |