unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
From: Grigory Shepelev <shegeley@gmail.com>
To: 71141@debbugs.gnu.org
Subject: [bug#71141] (gnu packages guile-xyz): + srfi-126
Date: Thu, 23 May 2024 12:04:07 +0300	[thread overview]
Message-ID: <CAGJuR-7q3xSKNriZqUXZbjRYQJ84OfgWdBBVi26vn--5LmFo2g@mail.gmail.com> (raw)


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



[-- Attachment #1.2: Type: text/html, Size: 26 bytes --]

[-- Attachment #2: 0001-gnu-packages-guile-xyz-guile-srfi-126.patch --]
[-- Type: text/x-patch, Size: 2621 bytes --]

From 3e08f2df8839f995d70203a58f093fc42f4141f4 Mon Sep 17 00:00:00 2001
From: Grigory Shepelev <shegeley@gmail.com>
Date: Thu, 23 May 2024 06:25:53 +0300
Subject: [PATCH] (gnu packages guile-xyz): + guile-srfi-126

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

diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index ffb0684167..0fc84bb2c1 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -3791,6 +3791,50 @@ (define-public guile-srfi-133
 comprehensive library of vector operations.")
     (license license:expat)))
 
+(define-public guile-srfi-126
+ (let ((commit "f480cf2d1a33c1f3d0fab3baf321c0ed5b5eb248")
+       (revision "0"))
+  (package
+   (name "guile-srfi-126")
+   (version revision)
+   (source
+    (origin
+     (method git-fetch)
+     (uri (git-reference
+           (url "https://github.com/scheme-requests-for-implementation/srfi-126")
+           (commit commit)))
+     (file-name (git-file-name name version))
+     (modules '((guix build utils)))
+     (snippet
+      '(begin
+        (delete-file-recursively "r6rs")
+
+        (delete-file "srfi/126.sld")
+        (delete-file "srfi/126.sld.in")
+        (delete-file "srfi/:126.sls")
+        (delete-file "srfi/:126.sls.in")
+
+        (delete-file "test-suite.body.scm")
+        (delete-file "test-suite.r6rs.sps")
+        (delete-file "test-suite.r6rs.sps.in")
+        (delete-file "test-suite.r7rs.scm")
+        (delete-file "test-suite.r7rs.scm.in")
+        #t))
+     (sha256
+      (base32 "18psw8l798xmbv2h90cz41r51q1mydzg7yr71krfprx5kdfqn32q"))))
+   (build-system guile-build-system)
+   (native-inputs (list guile-3.0))
+   (home-page "https://github.com/scheme-requests-for-implementation/srfi-126")
+   (synopsis "SRFI 126: R6RS-based hashtables")
+   (description "The utility procedures provided by this SRFI in addition to the R6RS API may be categorized as follows:
+    - Constructors: alist->eq-hashtable, alist->eqv-hashtable, alist->hashtable
+    - Access and mutation: hashtable-lookup, hashtable-intern!
+    - Copying: hashtable-empty-copy
+    - Key/value collections: hashtable-values, hashtable-key-list, hashtable-value-list, hashtable-entry-lists
+    - Iteration: hashtable-walk, hashtable-update-all!, hashtable-prune!, hashtable-merge!, hashtable-sum, hashtable-map->lset, hashtable-find
+    - Miscellaneous: hashtable-empty?, hashtable-pop!, hashtable-inc!, hashtable-dec!")
+   (license license:gpl3+))))
+
 (define-public guile-srfi-145
   (package
     (name "guile-srfi-145")
-- 
2.41.0


             reply	other threads:[~2024-05-23  9:06 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-05-23  9:04 Grigory Shepelev [this message]
2024-05-24 15:58 ` [bug#71141] (gnu packages guile-xyz): + srfi-126 Grigory Shepelev
2024-05-24 17:38   ` Leo Famulari
2024-05-24 17:47   ` Grigory Shepelev

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=CAGJuR-7q3xSKNriZqUXZbjRYQJ84OfgWdBBVi26vn--5LmFo2g@mail.gmail.com \
    --to=shegeley@gmail.com \
    --cc=71141@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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).