diff mbox series

[bug#67921,v3,12/24] gnu: Add ghc-heaps-bootstrap-for-9.6

Message ID 20241031125127.14080-13-ngraves@ngraves.fr
State New
Headers show
Series GHC update. | expand

Commit Message

Nicolas Graves Oct. 31, 2024, 12:46 p.m. UTC
From: Saku Laesvuori <saku@laesvuori.fi>

* gnu/packages/haskell.scm (ghc-heaps-bootstrap-for-9.6): New variable.

Change-Id: Ib04a47d3eacba415fd44cd532c18c02f8d9cf40b
---
 gnu/packages/haskell.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)
diff mbox series

Patch

diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm
index c5224aee1e..ab770be456 100644
--- a/gnu/packages/haskell.scm
+++ b/gnu/packages/haskell.scm
@@ -1760,6 +1760,27 @@  (define ghc-random-bootstrap-for-9.6
 library, including the ability to split random number generators.")
     (license license:bsd-3)))
 
+(define ghc-heaps-bootstrap-for-9.6
+  (package
+    (name "ghc-heaps-bootstrap")
+    (version "0.4")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (hackage-uri "heaps" version))
+       (sha256
+        (base32 "1zbw0qrlnhb42v04phzwmizbpwg21wnpl7p4fbr9xsasp7w9scl9"))))
+    (build-system haskell-build-system)
+    (properties '((upstream-name . "heaps")))
+    (arguments (list #:haskell ghc-bootstrap-for-9.6))
+    (home-page "http://github.com/ekmett/heaps/")
+    (synopsis "Asymptotically optimal Brodal/Okasaki heaps.")
+    (description
+     "Asymptotically optimal Brodal\\/Okasaki bootstrapped skew-binomial heaps from the
+paper <http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.48.973 \"Optimal
+Purely Functional Priority Queues\">, extended with a Foldable interface.")
+    (license license:bsd-3)))
+
 (define ghc-utf8-string-bootstrap-for-9.6
   (package
     (name "ghc-utf8-string-bootstrap")