guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#75221] [PATCH] gnu: Add cl-transducers


From: Jake Shilling
Subject: [bug#75221] [PATCH] gnu: Add cl-transducers
Date: Mon, 30 Dec 2024 16:55:04 -0500

Change-Id: Ia06d91c005b70528d5e5b37283e96edf040c2c69
---
 gnu/packages/lisp-xyz.scm | 35 +++++++++++++++++++++++++++++++++++
 1 file changed, 35 insertions(+)

diff --git a/gnu/packages/lisp-xyz.scm b/gnu/packages/lisp-xyz.scm
index c6cde75ea1..0fc5043b4a 100644
--- a/gnu/packages/lisp-xyz.scm
+++ b/gnu/packages/lisp-xyz.scm
@@ -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))

base-commit: 3ea95d7736be1f807d578d17c174b0976543b333
-- 
2.47.1






reply via email to

[Prev in Thread] Current Thread [Next in Thread]