summary refs log tree commit diff
diff options
context:
space:
mode:
authorKatherine Cox-Buday <cox.katherine.e@gmail.com>2020-01-03 11:55:14 +0100
committerGuillaume Le Vaillant <glv@posteo.net>2020-01-03 20:45:41 +0100
commitf67e34db3f4429d4d5bf915b71b191a3bad4a3e8 (patch)
treef585821b3e72385d93925a35b447410b34186a65
parent29411ae4f78329043d8d7946ab821b24a55fbb43 (diff)
downloadguix-f67e34db3f4429d4d5bf915b71b191a3bad4a3e8.tar.gz
gnu: Add physical-dimension.
* gnu/packages/lisp-xyz.scp (sbcl-physical-dimension, cl-physical-dimension):
  New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
-rw-r--r--gnu/packages/lisp-xyz.scm18
1 files changed, 18 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 6b1da4d4e7..74f3915b06 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -7504,3 +7504,21 @@ computer known.")
 
 (define-public ecl-foreign-array
   (sbcl-package->ecl-package sbcl-foreign-array))
+
+(define-public sbcl-physical-dimension
+  (package
+    (inherit sbcl-antik-base)
+    (name "sbcl-physical-dimension")
+    (inputs
+     `(("fare-utils" ,sbcl-fare-utils)
+       ("foreign-array" ,sbcl-foreign-array)
+       ("trivial-utf-8" ,sbcl-trivial-utf-8)))
+    (arguments
+     (substitute-keyword-arguments (package-arguments sbcl-antik-base)
+       ((#:asd-file _ "") "physical-dimension.asd")
+       ((#:asd-system-name _ #f) "physical-dimension")))
+    (synopsis
+     "Common Lisp library providing computations with physical units")))
+
+(define-public cl-physical-dimension
+  (sbcl-package->cl-source-package sbcl-physical-dimension))