aboutsummaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorPierre Neidhardt <mail@ambrevar.xyz>2022-06-30 19:06:31 +0200
committerPierre Neidhardt <mail@ambrevar.xyz>2022-06-30 20:01:37 +0200
commit141d01e670bea890d933e40ff462fc1727c35bd3 (patch)
treed268910b51c5af792e283b08e7f7ede4e82832a3 /gnu
parent995409022f7dc6c2e284514fad34c09506ca15b3 (diff)
downloadguix-141d01e670bea890d933e40ff462fc1727c35bd3.tar
guix-141d01e670bea890d933e40ff462fc1727c35bd3.tar.gz
gnu: Add mathkit.
* gnu/packages/lisp-xyz.scm (cl-mathkit, ecl-mathkit, sbcl-mathkit): New variables.
Diffstat (limited to 'gnu')
-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 f13bbcc536..5156ae0f98 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -22195,3 +22195,34 @@ only.")
(define-public ecl-sb-cga
(sbcl-package->ecl-package sbcl-sb-cga))
+
+(define-public sbcl-mathkit
+ (let ((commit "fd884f94b36ef5e9bc19459ad0b3cda6303d2a2a"))
+ (package
+ (name "sbcl-mathkit")
+ (version (git-version "0.0" "1" commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/lispgames/mathkit/")
+ (commit commit)))
+ (file-name (git-file-name "cl-mathkit" version))
+ (sha256
+ (base32 "174y6ndmf52h8sml87qjfl48llmynvdizzk2h0mr85zbaysx73i3"))))
+ (build-system asdf-build-system/sbcl)
+ (inputs
+ (list sbcl-alexandria
+ sbcl-sb-cga))
+ (home-page "https://github.com/lispgames/mathkit/")
+ (synopsis "Pure math functions useful for games, 3D, and GL in general")
+ (description
+ "This is a purely math-related utility kit, providing functions which
+can be useful for games, 3D, and GL in general.")
+ (license license:expat))))
+
+(define-public cl-mathkit
+ (sbcl-package->cl-source-package sbcl-mathkit))
+
+(define-public ecl-mathkit
+ (sbcl-package->ecl-package sbcl-mathkit))