From 7a34169f6c737d7e88b241fce6260c44ef464656 Mon Sep 17 00:00:00 2001 From: Adam Kandur Date: Sun, 29 Nov 2020 14:52:47 +0100 Subject: gnu: Add defpackage-plus. * gnu/packages/lisp-xyz.scm (cl-defpackage-plus, ecl-defpackage-plus, sbcl-defpackage-plus): New variables. Signed-off-by: Guillaume Le Vaillant --- gnu/packages/lisp-xyz.scm | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) (limited to 'gnu/packages/lisp-xyz.scm') diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm index e92fa74b83..670fdbd9de 100644 --- a/gnu/packages/lisp-xyz.scm +++ b/gnu/packages/lisp-xyz.scm @@ -11447,3 +11447,34 @@ and comparison operations when used heavily in numeric code.") (define-public ecl-static-dispatch (sbcl-package->ecl-package sbcl-static-dispatch)) + +(define-public sbcl-defpackage-plus + (let ((revision "0") + (commit "5492e27e0bdb7b75fa5177ea4388519dc7a75f11")) + (package + (name "sbcl-defpackage-plus") + (version (git-version "1.0" revision commit)) + (source + (origin + (method git-fetch) + (uri (git-reference + (url "https://github.com/rpav/defpackage-plus") + (commit commit))) + (file-name (git-file-name name version)) + (sha256 + (base32 "0lzljvf343xb6mlh6lni2i27hpm5qd376522mk6hr2pa20vd6rdq")))) + (build-system asdf-build-system/sbcl) + (inputs + `(("alexandria" ,sbcl-alexandria))) + (home-page "https://github.com/rpav/defpackage-plus") + (synopsis "Extensible @code{DEFPACKAGE} variant with version support") + (description + "@code{DEFPACKAGE-PLUS} is an extensible @code{DEFPACKAGE} variant with +predictable cross-platform behavior and some utilities useful for versioning.") + (license license:bsd-2)))) + +(define-public cl-defpackage-plus + (sbcl-package->cl-source-package sbcl-defpackage-plus)) + +(define-public ecl-defpackage-plus + (sbcl-package->ecl-package sbcl-defpackage-plus)) -- cgit 1.4.1