[bug#75221] gnu: Add cl-transducers
Commit Message
Change-Id: Ia06d91c005b70528d5e5b37283e96edf040c2c69
---
gnu/packages/lisp-xyz.scm | 35 +++++++++++++++++++++++++++++++++++
1 file changed, 35 insertions(+)
base-commit: 3ea95d7736be1f807d578d17c174b0976543b333
Comments
Thanks for the contribution.
Please see the pushed commit for commit style and other edits I made.
@@ -32837,3 +32837,38 @@ (define-public cl-zstd
(define-public ecl-zstd
(sbcl-package->ecl-package sbcl-zstd))
+
+(define-public sbcl-cl-transducers
+ (let ((commit "9b424bd7a2eec7ad4bc258501f28170c6f00eaf2")
+ (revision "0"))
+ (package
+ (name "sbcl-cl-transducers")
+ (version (git-version "1.3.0" revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://github.com/fosskers/cl-transducers")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "0p7fqkmv0rfi5d7mmm9600qpix003bqr7as148pk157s1d44vncg"))))
+ (build-system asdf-build-system/sbcl)
+ (arguments
+ '(#:asd-systems '("transducers" "transducers/jzon" "transducers/fset")))
+ (inputs (list sbcl-cl-str sbcl-parachute))
+ (propagated-inputs (list sbcl-fset sbcl-trivia sbcl-jzon))
+ (home-page "https://fosskers.github.io/cl-transducers/")
+ (synopsis "Transducers: Ergonomic, efficient data processing")
+ (description
+ "Transducers are an ergonomic and extremely
+memory-efficient way to process a data source. Here \"data source\" means
+simple collections like Lists or Vectors, but also potentially large files or
+generators of infinite data.")
+ (license license:expat))))
+
+(define-public cl-transducers
+ (sbcl-package->cl-source-package sbcl-cl-transducers))
+
+(define-public ecl-cl-transducers
+ (sbcl-package->ecl-package sbcl-cl-transducers))