diff mbox series

[bug#58995,v2] gnu: Add cl-numerical-utilities.

Message ID 20221105150653.24636-1-jgart@dismail.de
State New
Headers show
Series [bug#58995,v2] gnu: Add cl-numerical-utilities. | expand

Commit Message

jgart Nov. 5, 2022, 3:06 p.m. UTC
* gnu/packages/lisp-xyz.scm (cl-numerical-utilities,
ecl-numerical-utilities, sbcl-numerical-utilities): New variables.

Hi Guillaume,

Here is the updated patch to version 2 with your suggestions.

thanks,

jgart
---
 gnu/packages/lisp-xyz.scm | 41 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 41 insertions(+)

Comments

Guillaume Le Vaillant Nov. 6, 2022, 9:39 a.m. UTC | #1
Patch pushed as f1b0b2344c4c6465cd6033128366e86fa16e5f23.
Thanks.
diff mbox series

Patch

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 34ad0af1fb..01dcf4f46d 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -24435,6 +24435,47 @@  (define-public cl-definitions-systems
 (define-public ecl-definitions-systems
   (sbcl-package->ecl-package sbcl-definitions-systems))
 
+(define-public sbcl-numerical-utilities
+  (let ((commit "44f45ba952b35675640630e40cf90df6f8279746")
+        (revision "0"))
+    (package
+      (name "sbcl-numerical-utilities")
+      (version (git-version "1.2.0" revision commit))
+      (source
+       (origin
+         (method git-fetch)
+         (uri (git-reference
+               (url "https://github.com/Lisp-Stat/numerical-utilities")
+               (commit commit)))
+         (file-name (git-file-name name version))
+         (sha256
+          (base32 "1dwz8zxhqzi31qp863zj1cn1lgljny14snycb9nk871qs121kmsd"))))
+      (build-system asdf-build-system/sbcl)
+      (arguments
+       '(#:asd-systems '("num-utils" "num-utils/tests")))
+      (inputs
+        (list sbcl-alexandria
+              sbcl-alexandria-plus
+              sbcl-anaphora
+              sbcl-let-plus
+              sbcl-array-operations))
+      (native-inputs
+        (list sbcl-fiveam
+              sbcl-select))
+      (home-page "https://lisp-stat.github.io/numerical-utilities")
+      (synopsis "Utilities for numerical programming")
+      (description
+"@code{cl-numerical-utilities} is a collection of packages useful in numerical
+applications, each big enough to be its own package, but too small to
+split out into a separate ASDF system.")
+      (license license:ms-pl))))
+
+(define-public cl-numerical-utilities
+  (sbcl-package->cl-source-package sbcl-numerical-utilities))
+
+(define-public ecl-numerical-utilities
+  (sbcl-package->ecl-package sbcl-numerical-utilities))
+
 (define-public sbcl-zr-utils
   (let ((commit "e7eaffcb71811f6e1ab85fb15a079bcac4038eeb")
         (revision "0"))