gnu: Add cl-constantfold.

* gnu/packages/lisp-xyz.scm (sbcl-constantfold, cl-constantfold): New variables.

Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
This commit is contained in:
Konrad Hinsen 2020-02-11 11:37:10 +01:00 committed by Guillaume Le Vaillant
parent ca6c5c7fdf
commit 6e0f2b959a
No known key found for this signature in database
GPG key ID: 6BE8208ADF21FE3F

View file

@ -10465,3 +10465,41 @@ (define-public sbcl-specialized-function
(define-public cl-specialized-function
(sbcl-package->cl-source-package sbcl-specialized-function))
(define-public sbcl-constantfold
(let ((commit "0ff1d97a3fbcb89264f6a2af6ce62b73e7b421f4")
(revision "1"))
(package
(name "sbcl-constantfold")
(version (git-version "0.1" revision commit))
(source
(origin
(method git-fetch)
(uri (git-reference
(url "https://github.com/numcl/constantfold.git")
(commit commit)))
(file-name (git-file-name name version))
(sha256
(base32
"153h0569z6bff1qbad0bdssplwwny75l7ilqwcfqfdvzsxf9jh06"))))
(build-system asdf-build-system/sbcl)
(synopsis "Support library for numcl")
(description
"Support library for numcl. Registers a function as an
additional form that is considered as a candidate for a constant.")
(home-page "https://github.com/numcl/constantfold")
(license license:lgpl3+)
(inputs
`(("trivia" ,sbcl-trivia)
("alexandria" ,sbcl-alexandria)
("iterate" ,sbcl-iterate)
("lisp-namespace" ,sbcl-lisp-namespace)))
(native-inputs
`(("fiveam" ,sbcl-fiveam)))
(arguments
`(#:asd-system-name "constantfold"
#:asd-file "constantfold.asd"
#:test-asd-file "constantfold.test.asd")))))
(define-public cl-constantfold
(sbcl-package->cl-source-package sbcl-constantfold))