GNU bug report logs - #36467
[PATCH 00/12] gnu: Add some Common Lisp libraries

Previous Next

Package: guix-patches;

Reported by: Guillaume LE VAILLANT <glv <at> posteo.net>

Date: Mon, 1 Jul 2019 22:29:01 UTC

Severity: normal

Tags: patch

Done: Pierre Neidhardt <mail <at> ambrevar.xyz>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Guillaume LE VAILLANT <glv <at> posteo.net>
To: 36467 <at> debbugs.gnu.org
Cc: Guillaume LE VAILLANT <glv <at> posteo.net>
Subject: [bug#36467] [PATCH 08/12] gnu: Add cambl.
Date: Tue,  2 Jul 2019 00:31:23 +0200
* gnu/packages/lisp.scm (sbcl-cambl, cl-cambl): New variables.
---
 gnu/packages/lisp.scm | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm
index 70b5ed4b79..425b8029fd 100644
--- a/gnu/packages/lisp.scm
+++ b/gnu/packages/lisp.scm
@@ -6217,3 +6217,28 @@ sharing identical sublists.")
 
 (define-public cl-fprog
   (sbcl-package->cl-source-package sbcl-fprog))
+
+(define-public sbcl-cambl
+  (let ((commit "7016d1a98215f82605d1c158e7a16504ca1f4636")
+        (revision "1"))
+    (package
+      (inherit sbcl-fprog)
+      (name "sbcl-cambl")
+      (version (git-version "4.0.0" revision commit))
+      (native-inputs
+       `(("xlunit" ,sbcl-xlunit)))
+      (inputs
+       `(("alexandria" ,sbcl-alexandria)
+         ("cl-containers" ,sbcl-cl-containers)
+         ("local-time" ,sbcl-local-time)
+         ("periods" ,sbcl-periods)
+         ("fprog" ,sbcl-fprog)))
+      (synopsis "Commoditized amounts and balances for Common Lisp")
+      (description
+       "Cambl is a Common Lisp library providing a convenient facility for
+working with commoditized values.  It does not allow compound units (and so is
+not suited for scientific operations) but does work rather nicely for the
+purpose of financial calculations."))))
+
+(define-public cl-cambl
+  (sbcl-package->cl-source-package sbcl-cambl))
-- 
2.22.0





This bug report was last modified 5 years and 241 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.