From: pukkamustard <pukkamustard@posteo.net>
To: 57055@debbugs.gnu.org
Cc: pukkamustard <pukkamustard@posteo.net>
Subject: [bug#57055] [PATCH v3 2/2] gnu: Add guile-srfi-146.
Date: Mon, 29 Aug 2022 08:56:00 +0000 [thread overview]
Message-ID: <20220829085600.3253-2-pukkamustard@posteo.net> (raw)
In-Reply-To: <20220829085600.3253-1-pukkamustard@posteo.net>
* gnu/packages/guile-xyz.scm (guile-srfi-146): New variable.
---
gnu/packages/guile-xyz.scm | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index 52aa6d5f6a..483ec15676 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -3145,6 +3145,44 @@ (define-public guile-srfi-145
denote the invalidity of certain code paths in a Scheme program.")
(license license:gpl3+)))
+(define-public guile-srfi-146
+ (package
+ (name "guile-srfi-146")
+ (version "0.1.0")
+ (source
+ (origin
+ (method git-fetch)
+ (uri (git-reference
+ (url "https://inqlab.net/git/guile-srfi-146.git")
+ (commit (string-append "v" version))))
+ (sha256
+ (base32
+ "13dbzlav4fql8lcfr021z5368lwri6i15x0ykv8llzyghlbbx2w6"))
+ (file-name (git-file-name name version))))
+ (build-system gnu-build-system)
+ (native-inputs
+ (list guile-3.0
+ guile-srfi-128 guile-srfi-145 guile-srfi-158
+ autoconf automake pkg-config))
+ (inputs (list guile-3.0))
+ (propagated-inputs
+ (list guile-srfi-128 guile-srfi-145 guile-srfi-158))
+ (synopsis "SRFI 146 (Mappings) for Guile")
+ (description
+ "This package provides an implementation of SRFI 146 for Guile.
+SRFI 146 defines datastructures that implement mappings (finite sets
+of associations consiting of a key and a value). Two types of
+mappings are defined: One using a comparator to define an order on the
+keys and another using a hash function on the keys. The
+datastructures and procedures are by default purely-functional. This
+package re-uses the SRFI sample implementation that is based on
+red-black trees and Hash Array Mapped Trie (HAMT).")
+ (home-page "https://inqlab.net/git/guile-srfi-146.git")
+ (license
+ (list license:lgpl3+
+ ;; contains ISC code from the SRFI sample implementation
+ license:isc))))
+
(define-public guile-srfi-158
(let ((commit "13126d1ed37892c864337a600a43d6876625fb99")
(revision "0"))
--
2.37.1
next prev parent reply other threads:[~2022-08-29 8:57 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-08-08 8:32 [bug#57055] [PATCH 0/2] gnu: Add guile-srfi-146 pukkamustard
2022-08-08 8:36 ` [bug#57055] [PATCH 1/2] gnu: Add guile-srfi-128 pukkamustard
2022-08-08 8:36 ` [bug#57055] [PATCH 2/2] gnu: Add guile-srfi-146 pukkamustard
2022-08-08 9:30 ` Maxime Devos
2022-08-08 12:43 ` pukkamustard
2022-08-08 13:12 ` ( via Guix-patches via
2022-08-08 13:47 ` pukkamustard
2022-08-08 18:22 ` Maxime Devos
2022-08-19 13:41 ` pukkamustard
2022-08-19 20:34 ` Maxime Devos
2022-08-29 8:48 ` pukkamustard
2022-08-08 19:04 ` Maxime Devos
2022-08-09 9:24 ` pukkamustard
2022-08-09 9:30 ` [bug#57055] [PATCH v2 1/2] gnu: Add guile-srfi-128 pukkamustard
2022-08-09 9:30 ` [bug#57055] [PATCH v2 2/2] gnu: Add guile-srfi-146 pukkamustard
2022-08-29 8:55 ` [bug#57055] [PATCH v3 1/2] gnu: Add guile-srfi-128 pukkamustard
2022-08-29 8:56 ` pukkamustard [this message]
2022-08-31 21:14 ` bug#57055: [PATCH 0/2] gnu: Add guile-srfi-146 Ludovic Courtès
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=20220829085600.3253-2-pukkamustard@posteo.net \
--to=pukkamustard@posteo.net \
--cc=57055@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.