aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorCharles <charles@charje.net>2024-01-31 18:29:22 -0600
committerGuillaume Le Vaillant <glv@posteo.net>2024-02-05 14:36:05 +0100
commit87f5876e60922a032b253c43964d2e455d14955a (patch)
treecec204b283db8168af7cfcd1dd69f3d3f0b1c182 /gnu/packages
parentd8472f71649135e15d615f4d1ba364286cc82e8f (diff)
downloadguix-87f5876e60922a032b253c43964d2e455d14955a.tar
guix-87f5876e60922a032b253c43964d2e455d14955a.tar.gz
gnu: Add cl-modf.
* gnu/packages/lisp-xyz.scm (sbcl-modf, cl-modf, ecl-modf): New variables. Change-Id: Ic7e8e4511ca537531a7d9aa134e671aca060aa09 Signed-off-by: Guillaume Le Vaillant <glv@posteo.net>
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/lisp-xyz.scm36
1 files changed, 36 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 65038ba2b6..53cf89f829 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -11551,6 +11551,42 @@ may contain sets, maps may be keyed by sets, etc.")
;; Tests fails on ECL with "The function FSET::MAKE-CHAR is undefined".
'(#:tests? #f))))
+(define-public sbcl-modf
+ (let ((commit "dea93fe62c6bf7f66f32f52ac0c555aedbf7abad")
+ (revision "0"))
+ (package
+ (name "sbcl-modf")
+ (version (git-version "0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/smithzvk/modf")
+ (commit commit)))
+ (file-name (git-file-name "cl-modf" version))
+ (sha256
+ (base32
+ "1aap7ldy7lv942khp026pgndgdzfkkqa9xcq1ykinrmflrgdazay"))))
+ (build-system asdf-build-system/sbcl)
+ (inputs
+ (list sbcl-alexandria
+ sbcl-closer-mop
+ sbcl-iterate))
+ (native-inputs
+ (list sbcl-stefil))
+ (home-page "https://github.com/smithzvk/modf")
+ (synopsis "SETF like macro for functional programming in Common Lisp")
+ (description "This library simplifies functional programming in Common
+Lisp by making it easier to make new data structures with specified changes in
+place.")
+ (license license:bsd-3))))
+
+(define-public cl-modf
+ (sbcl-package->cl-source-package sbcl-modf))
+
+(define-public ecl-modf
+ (sbcl-package->ecl-package sbcl-modf))
+
(define-public sbcl-cl-cont
(let ((commit "fc1fa7e6eb64894fdca13e688e6015fad5290d2a")
(revision "1"))