aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuval Langer <yuval.langer@gmail.com>2024-09-08 07:02:45 +0300
committerjgart <jgart@dismail.de>2024-09-09 13:04:28 -0500
commit590904cca15922e6474fbd3a71af9b3a45b268af (patch)
treef66c78efb24ec637756e38f7744eee4c94f4c51b
parent637ca78f513fac15284403c0d3af64492ea832a1 (diff)
downloadguix-590904cca15922e6474fbd3a71af9b3a45b268af.tar
guix-590904cca15922e6474fbd3a71af9b3a45b268af.tar.gz
gnu: Add guile-srfi-235.
* gnu/packages/guile-xyz.scm (guile-srfi-235): New variable. Signed-off-by: jgart <jgart@dismail.de> Change-Id: Ic909fb9f960f53337706a90a27245dacb8e549ae
-rw-r--r--gnu/packages/guile-xyz.scm39
1 files changed, 39 insertions, 0 deletions
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 3bcb0e82bb..792b1c6fa8 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -4079,6 +4079,45 @@ procedures, and procedures created with it have predictable behavior when
applied to surplus arguments.")
(license license:expat)))
+(define-public guile-srfi-235
+ (let ((version "1.0.0")
+ (revision "1")
+ (commit "643a44aa9d6872962257995ecb0a31eb06a71d88"))
+ (package
+ (name "guile-srfi-235")
+ (version (git-version version revision commit))
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url
+ "https://github.com/scheme-requests-for-implementation/srfi-235")
+ (commit commit)))
+ (file-name (git-file-name name version))
+ (sha256
+ (base32 "1slkcr67ad12ipkbhjdzjhbnsyvq5wi7cssvgv110fr2dy4rciwp"))))
+ (build-system guile-build-system)
+ (arguments
+ (list
+ #:phases #~(modify-phases %standard-phases
+ (add-after 'unpack 'move-create-and-delete-files
+ (lambda _
+ (substitute* "srfi/235.sld"
+ (("srfi 235")
+ "srfi srfi-235"))
+ (rename-file "srfi/235.sld" "srfi/srfi-235.scm"))))))
+ (native-inputs (list guile-3.0))
+ (home-page
+ "https://github.com/scheme-requests-for-implementation/srfi-235")
+ (synopsis "Combinators for Guile Scheme")
+ (description
+ "This SRFI contains various procedures that accept and return procedures, as
+well as a few others, drawn from an earlier version of Chicken.
+Common Lisp has a few of them too, and more come from the Standard
+Prelude from Programming Praxis. Using these procedures helps to keep
+code terse and reduce the need for ad hoc lambdas.")
+ (license license:expat))))
+
(define-public emacsy
(package
(name "emacsy")