From 1c2036f076141727ceb432cb252b33c415f516e2 Mon Sep 17 00:00:00 2001 From: "Collin J. Doering" Date: Fri, 29 Jul 2022 01:50:38 -0400 Subject: [PATCH] rekahsoft-gnu: Add ghc-heaps * rekahsoft-gnu/packages/haskell-apps.scm (ghc-heaps): New variable --- rekahsoft-gnu/packages/haskell-apps.scm | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/rekahsoft-gnu/packages/haskell-apps.scm b/rekahsoft-gnu/packages/haskell-apps.scm index a76c478..b9d64dc 100644 --- a/rekahsoft-gnu/packages/haskell-apps.scm +++ b/rekahsoft-gnu/packages/haskell-apps.scm @@ -164,3 +164,22 @@ packages. The first three components of the version number match the upstream jquery.dgtable version. The package is designed to meet the redistribution requirements of downstream users (e.g. Debian).") (license license:expat))) + +(define-public ghc-heaps + (package + (name "ghc-heaps") + (version "0.4") + (source + (origin + (method url-fetch) + (uri (hackage-uri "heaps" version)) + (sha256 + (base32 "1zbw0qrlnhb42v04phzwmizbpwg21wnpl7p4fbr9xsasp7w9scl9")))) + (build-system haskell-build-system) + (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 , extended with a 'Foldable' interface.") + (license license:bsd-3)))