summary refs log tree commit diff
path: root/gnu
diff options
context:
space:
mode:
authorMichal Atlas <michal_atlas+git@posteo.net>2023-11-24 17:07:13 +0000
committerGuillaume Le Vaillant <glv@posteo.net>2024-01-28 14:31:10 +0100
commit51e9f4bd99f85dcf4e71dce1945b4d6188882085 (patch)
treeb71d32c26e622c6b0263a9751b9d0ab0da35eb03 /gnu
parentfe26fec331b3e710e06e78326879b1e3ae16be67 (diff)
downloadguix-51e9f4bd99f85dcf4e71dce1945b4d6188882085.tar.gz
gnu: Add cl-permutation.
* gnu/packages/lisp-xyz.scm (sbcl-cl-permutation, ecl-cl-permutation,
  cl-permutation): New variables.

Change-Id: Ib5cf64fa1311e76bcf710d8f5f673226a3e410b6
Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/lisp-xyz.scm38
1 files changed, 38 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 88a60ef97b..74dd8dd66f 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -20764,6 +20764,44 @@ implemented according to
 (define-public cl-messagepack
   (sbcl-package->cl-source-package sbcl-cl-messagepack))
 
+(define-public sbcl-cl-permutation
+  (let ((commit "20c10e9ca56452d2fafc3ec0984dcdf78b4f4b19")
+        (revision "0"))
+    (package
+      (name "sbcl-cl-permutation")
+      (version (git-version "0.0.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/stylewarning/cl-permutation")
+               (commit commit)))
+         (file-name (git-file-name "cl-permutation" version))
+         (sha256
+          (base32 "0i932g0k50y24hxizni6zfya4kcw77yk3b0llivm9g50s7fxj9dk"))))
+      (build-system asdf-build-system/sbcl)
+      (native-inputs (list sbcl-fiasco))
+      (inputs
+       (list sbcl-alexandria
+             sbcl-bordeaux-fft
+             sbcl-cl-algebraic-data-type
+             sbcl-cl-cont
+             sbcl-closer-mop
+             sbcl-iterate
+             sbcl-priority-queue))
+      (synopsis "Permutations and permutation groups in Common Lisp")
+      (description
+       "This is a Commin Lisp library for operating on permutations and
+permutation groups.")
+      (home-page "https://github.com/stylewarning/cl-permutation")
+      (license license:bsd-3))))
+
+(define-public ecl-cl-permutation
+  (sbcl-package->ecl-package sbcl-cl-permutation))
+
+(define-public cl-permutation
+  (sbcl-package->cl-source-package sbcl-cl-permutation))
+
 (define-public sbcl-messagebox
   (let ((commit "ea3688d9a9954bee7079c0173bc7b3f327021e9f")
         (revision "1"))