diff options
author | Guillaume LE VAILLANT <glv@posteo.net> | 2019-09-16 15:13:53 +0200 |
---|---|---|
committer | Pierre Neidhardt <mail@ambrevar.xyz> | 2019-09-18 11:55:42 +0200 |
commit | 66226d5d41868c7d60c8725efaeb3dba0a0a58f7 (patch) | |
tree | f3acb2e568d622fa9131ad1ad242b8975674b2ce /gnu/packages/lisp.scm | |
parent | c0dcdd45d90c7906bc652cf4ca7a3825261b786f (diff) | |
download | guix-66226d5d41868c7d60c8725efaeb3dba0a0a58f7.tar guix-66226d5d41868c7d60c8725efaeb3dba0a0a58f7.tar.gz |
gnu: Add cambl.
* gnu/packages/lisp.scm (sbcl-cambl, cl-cambl, ecl-cambl): New variables.
Diffstat (limited to 'gnu/packages/lisp.scm')
-rw-r--r-- | gnu/packages/lisp.scm | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/gnu/packages/lisp.scm b/gnu/packages/lisp.scm index 6f7667f77d..8cd27c8d54 100644 --- a/gnu/packages/lisp.scm +++ b/gnu/packages/lisp.scm @@ -7176,3 +7176,31 @@ immutable lists sharing identical sublists.") (define-public ecl-fprog (sbcl-package->ecl-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)) + +(define-public ecl-cambl + (sbcl-package->ecl-package sbcl-cambl)) |