unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#43111] [PATCH] gnu: Add guile-srfi-158.
@ 2020-08-30 10:44 Martin Becze
  2020-08-31  8:00 ` bug#43111: " Mathieu Othacehe
  0 siblings, 1 reply; 2+ messages in thread
From: Martin Becze @ 2020-08-30 10:44 UTC (permalink / raw)
  To: 43111; +Cc: Martin Becze

* gnu/packages/guile-xyz.scm (guile-srfi-158): New variable.
---
 gnu/packages/guile-xyz.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/guile-xyz.scm b/gnu/packages/guile-xyz.scm
index b8c104993f..9f9335c8f7 100644
--- a/gnu/packages/guile-xyz.scm
+++ b/gnu/packages/guile-xyz.scm
@@ -2827,6 +2827,36 @@ parameters, which  define* and lambda* special forms")
 denote the invalidity of certain code paths in a Scheme program.")
     (license license:gpl3+)))
 
+(define-public guile-srfi-158
+  (package
+    (name "guile-srfi-158")
+    (version "0.0.1")
+    (source
+     (origin
+       (method git-fetch)
+       (uri (git-reference
+             (url "https://gitlab.com/mjbecze/guile-srfi-158.git")
+             (commit version)))
+       (sha256
+        (base32
+         "0b8hlv1bldbcwkcxi9y8mm6xp5gbgpg7b15bwqxv70iynl9d9a7c"))
+       (file-name (git-file-name name version))))
+    (build-system gnu-build-system)
+    (native-inputs
+     `(("autoconf" ,autoconf)
+       ("automake" ,automake)
+       ("pkg-config" ,pkg-config)))
+    (inputs
+     `(("guile" ,guile-3.0)))
+    (home-page "https://gitlab.com/samplet/guile-srfi-158")
+    (synopsis "SRFI 158 (Generators and Accumulators) for Guile")
+    (description "This package provides an implementation of SRFI 158
+for Guile.  SRFI 158 defines utility procedures that create,
+transform, and consume generators.  It also defines procedures that
+return accumulators.  It is implemented by wrapping the sample
+implementation in a thin Guile compatibility layer.")
+    (license license:gpl3+)))
+
 (define-public guile-srfi-159
   (let ((commit "1bd98abda2ae4ef8f36761a167903e55c6bda7bb")
         (revision "0"))
-- 
2.28.0





^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#43111: [PATCH] gnu: Add guile-srfi-158.
  2020-08-30 10:44 [bug#43111] [PATCH] gnu: Add guile-srfi-158 Martin Becze
@ 2020-08-31  8:00 ` Mathieu Othacehe
  0 siblings, 0 replies; 2+ messages in thread
From: Mathieu Othacehe @ 2020-08-31  8:00 UTC (permalink / raw)
  To: Martin Becze; +Cc: 43111-done


Hey Martin,

> * gnu/packages/guile-xyz.scm (guile-srfi-158): New variable.

Pushed, thanks!

Mathieu




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-08-31  8:01 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-08-30 10:44 [bug#43111] [PATCH] gnu: Add guile-srfi-158 Martin Becze
2020-08-31  8:00 ` bug#43111: " Mathieu Othacehe

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).