summary refs log tree commit diff
diff options
context:
space:
mode:
authorAdam Kandur <rndd@tuta.io>2020-11-29 14:52:47 +0100
committerGuillaume Le Vaillant <glv@posteo.net>2020-11-29 15:33:28 +0100
commit7a34169f6c737d7e88b241fce6260c44ef464656 (patch)
treec8db3a1a72fe06200ab3f1a6c7df1fab6410ade1
parent79f9dee3c4c0e6d21066f142116a537207ae7ba4 (diff)
downloadguix-7a34169f6c737d7e88b241fce6260c44ef464656.tar.gz
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 <glv@posteo.net>
-rw-r--r--gnu/packages/lisp-xyz.scm31
1 files changed, 31 insertions, 0 deletions
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))