summaryrefslogtreecommitdiff
path: root/gnu/packages
diff options
context:
space:
mode:
authorjgart <jgart@dismail.de>2024-09-26 11:12:43 -0500
committerjgart <jgart@dismail.de>2024-09-26 20:33:45 -0500
commite8ad03bea2821fe65b6bd1a3a850fb1a4b4eed8a (patch)
treef8eed2f04035040e9f0cad88445241b99484e18d /gnu/packages
parentd8ef348ca6c76ea903d119b265e600f289c779f5 (diff)
gnu: Add cl-setlocale.
* gnu/packages/lisp-xyz.scm (cl-setlocale, ecl-cl-setlocale, sbcl-cl-setlocale): New variables. Co-authored-by: Ada Stevenson <adanskana@gmail.com> Change-Id: I7ab27bde118d4aab2bfff175037c8bbe47d00674
Diffstat (limited to 'gnu/packages')
-rw-r--r--gnu/packages/lisp-xyz.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index 9d98c42ec4..c0d1350d73 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -9139,6 +9139,37 @@ to serve as a building block for such an interface.")
(define-public ecl-cl-rmath
(sbcl-package->ecl-package sbcl-cl-rmath))
+(define-public sbcl-cl-setlocale
+ (let ((commit "f660d07dac72bc3e99caae1c6c8a789991e2694c")
+ (revision "0"))
+ (package
+ (name "sbcl-cl-setlocale")
+ (version (git-version "0.1" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/shamazmazum/cl-setlocale")
+ (commit commit)))
+ (file-name (git-file-name "cl-setlocale" version))
+ (sha256
+ (base32 "0g1b89yj6n42ayf2074krk3h9yvglqxn54a6i3sxgpsqww2ll2a1"))))
+ (build-system asdf-build-system/sbcl)
+ (native-inputs (list sbcl-fiveam))
+ (inputs (list sbcl-cffi))
+ (home-page "https://github.com/shamazmazum/cl-setlocale")
+ (synopsis "Common Lisp wrapper around setlocale")
+ (description
+ "This library provides a tiny Common Lisp wrapper around setlocale(3)
+and can be used in conjunction with other FFI wrappers like cl-charms.")
+ (license license:bsd-2))))
+
+(define-public cl-setlocale
+ (sbcl-package->cl-source-package sbcl-cl-setlocale))
+
+(define-public ecl-cl-setlocale
+ (sbcl-package->ecl-package sbcl-cl-setlocale))
+
(define-public sbcl-cl-slice
(let ((commit "c531683f287216aebbb0affbe090611fa1b5d697")
(revision "1"))