GNU bug report logs - #69148
[PATCH v2 15/23] gnu: Add ghc-semigroups-bootstrap-for-9.6

Previous Next

Package: guix-patches;

Reported by: Saku Laesvuori <saku <at> laesvuori.fi>

Date: Thu, 15 Feb 2024 12:24:04 UTC

Severity: normal

Tags: patch

Merged with 69142, 69143, 69144, 69145, 69146, 69147, 69149, 69150, 69151, 69152, 69153, 69154, 69155, 69156, 69157, 69158, 69159, 69160, 69161, 69162, 69163, 69164, 69165

Done: Saku Laesvuori <saku <at> laesvuori.fi>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Saku Laesvuori <saku <at> laesvuori.fi>
To: guix-patches <at> gnu.org,
	67921 <at> debbugs.gnu.org
Cc: Saku Laesvuori <saku <at> laesvuori.fi>
Subject: [PATCH v2 15/23] gnu: Add ghc-semigroups-bootstrap-for-9.6
Date: Thu, 15 Feb 2024 10:49:56 +0200
* gnu/packages/haskell.scm (ghc-semigroups-bootstrap-for-9.6): New
  variable.

Change-Id: Ic676fed80bea3805f8e70cd958c3d7523226053d
---
 gnu/packages/haskell.scm | 30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index 0f49aabdb1..6a19287d4a 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1655,6 +1655,36 @@ (define ghc-random-bootstrap-for-9.6
 library, including the ability to split random number generators.")
     (license license:bsd-3)))
 
+(define ghc-semigroups-bootstrap-for-9.6
+  (package
+    (name "ghc-semigroups-bootstrap")
+    (version "0.20")
+    (source (origin
+              (method url-fetch)
+              (uri (hackage-uri "semigroups" version))
+              (sha256
+               (base32
+                "1qbk6scp1rzb69dy8mz26p6az5vi16g2lzwmwnfshh3br4rjwbch"))))
+    (build-system haskell-build-system)
+    (properties '((upstream-name . "semigroups")))
+    (arguments (list #:haskell ghc-bootstrap-for-9.6))
+    (inputs
+     (list ghc-nats-bootstrap-for-9.6
+           ghc-tagged-bootstrap-for-9.6
+           ghc-unordered-containers-bootstrap-for-9.6
+           ghc-hashable-bootstrap-for-9.6))
+    (home-page "http://github.com/ekmett/semigroups/")
+    (synopsis "Semigroup operations for Haskell")
+    (description
+     "This package provides semigroups for Haskell.  In
+mathematics, a semigroup is an algebraic structure consisting of a set
+together with an associative binary operation.  A semigroup generalizes a
+monoid in that there might not exist an identity element.  It
+also (originally) generalized a group (a monoid with all inverses) to a type
+where every element did not have to have an inverse, thus the name
+semigroup.")
+    (license license:bsd-3)))
+
 (define ghc-tagged-bootstrap-for-9.6
   (package
     (name "ghc-tagged-bootstrap")
-- 
2.41.0





This bug report was last modified 1 year and 99 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.