* [bug#39567] [PATCH] gnu: Add cl-constantfold.
@ 2020-02-11 10:37 Konrad Hinsen
2020-02-12 9:09 ` bug#39567: " Guillaume Le Vaillant
0 siblings, 1 reply; 2+ messages in thread
From: Konrad Hinsen @ 2020-02-11 10:37 UTC (permalink / raw)
To: 39567
* gnu/packages/lisp-xyz.scm (sbcl-constantfold, cl-constantfold): New variables.
---
gnu/packages/lisp-xyz.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index c22c1ed5a3..3d38cabf0c 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -10465,3 +10465,41 @@ code. The main target of this macro is speed.")
(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 "0.1")
+ (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))
--
2.25.0
^ permalink raw reply related [flat|nested] 2+ messages in thread
* bug#39567: [PATCH] gnu: Add cl-constantfold.
2020-02-11 10:37 [bug#39567] [PATCH] gnu: Add cl-constantfold Konrad Hinsen
@ 2020-02-12 9:09 ` Guillaume Le Vaillant
0 siblings, 0 replies; 2+ messages in thread
From: Guillaume Le Vaillant @ 2020-02-12 9:09 UTC (permalink / raw)
To: 39567-done; +Cc: Konrad Hinsen
[-- Attachment #1: Type: text/plain, Size: 61 bytes --]
Pushed as 6e0f2b959af9e79bda017e949c9882bee06502af. Thanks.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 227 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2020-02-12 9:10 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-02-11 10:37 [bug#39567] [PATCH] gnu: Add cl-constantfold Konrad Hinsen
2020-02-12 9:09 ` bug#39567: " Guillaume Le Vaillant
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/guix.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).