all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Yuval Langer <yuval.langer@gmail.com>
To: 73096@debbugs.gnu.org
Subject: [bug#73096] A guile package for SRFI-235.
Date: Sat, 7 Sep 2024 16:02:06 +0300	[thread overview]
Message-ID: <CAK0OjG3M5aXrGZPEc43raD_c9s0-UMEQSMDnXUyCOMb+63S3EA@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 92 bytes --]

Hi,

here's my package definition for SRFI-235.

Please review!

Many thanks,
Yuval Langer.

[-- Attachment #2: 0001-Add-guile-srfi-235.patch --]
[-- Type: text/x-patch, Size: 2468 bytes --]

From 56f2508f1bd35ae74846555f65aa0c267bcc4eaf Mon Sep 17 00:00:00 2001
Message-Id: <56f2508f1bd35ae74846555f65aa0c267bcc4eaf.1725714029.git.yuval.langer@gmail.com>
From: Yuval Langer <yuval.langer@gmail.com>
Date: Sat, 7 Sep 2024 16:00:04 +0300
Subject: [PATCH] Add guile-srfi-235.

---
 gnu/packages/guile-xyz.scm | 39 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)

diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 3bcb0e82bb..a558674989 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 gnu:packages:guile: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")
-- 
2.30.2


             reply	other threads:[~2024-09-07 13:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-09-07 13:02 Yuval Langer [this message]
2024-09-07 19:25 ` [bug#73096] A guile package for SRFI-235 jgart via Guix-patches via
2024-09-07 22:20   ` Yuval Langer
2024-09-08  4:02     ` Yuval Langer
2024-09-09 18:17       ` bug#73096: " jgart via Guix-patches via

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CAK0OjG3M5aXrGZPEc43raD_c9s0-UMEQSMDnXUyCOMb+63S3EA@mail.gmail.com \
    --to=yuval.langer@gmail.com \
    --cc=73096@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.