summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorGuillaume Le Vaillant <glv@posteo.net>2020-11-30 18:57:55 +0100
committerGuillaume Le Vaillant <glv@posteo.net>2020-12-01 11:52:34 +0100
commitdec194bfa8bc6220a9954e9ef74464f220e1274c (patch)
tree5fa8961b1ef757dff53e82cb54f72601251a5e0c /gnu
parent86971616c139597ffa9e20acc75533ff90176450 (diff)
gnu: Add array-operations.
* gnu/packages/lisp-xyz.scm (cl-array-operations, ecl-array-operations, sbcl-array-operations): New variables.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/lisp-xyz.scm34
1 files changed, 34 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 2e6c059777..dd47659b35 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -11665,3 +11665,37 @@ package.")
(define-public ecl-claw-support
(sbcl-package->ecl-package sbcl-claw-support))
+
+(define-public sbcl-array-operations
+ (let ((commit "75cbc3b1adb2e3ce2109489753d0f290b071e81b")
+ (revision "0"))
+ (package
+ (name "sbcl-array-operations")
+ (version (git-version "0.0.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/bendudson/array-operations")
+ (commit commit)))
+ (file-name (git-file-name "array-operations" version))
+ (sha256
+ (base32 "0ip49hhq32w80qsc7jmspyda5r2rsszvw0mk2r3341cld78sz9ya"))))
+ (build-system asdf-build-system/sbcl)
+ (native-inputs
+ `(("alexandria" ,sbcl-alexandria)
+ ("clunit2" ,sbcl-clunit2)))
+ (inputs
+ `(("let-plus" ,sbcl-let-plus)))
+ (synopsis "Simple array operations library for Common Lisp")
+ (description
+ "This library is a collection of functions and macros for manipulating
+Common Lisp arrays and performing numerical calculations with them.")
+ (home-page "https://github.com/bendudson/array-operations")
+ (license license:expat))))
+
+(define-public cl-array-operations
+ (sbcl-package->cl-source-package sbcl-array-operations))
+
+(define-public ecl-array-operations
+ (sbcl-package->ecl-package sbcl-array-operations))