guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#64840] [PATCH 10/12] gnu: Add ghc-bimap.


From: Distopico
Subject: [bug#64840] [PATCH 10/12] gnu: Add ghc-bimap.
Date: Mon, 24 Jul 2023 15:23:12 -0500

* gnu/packages/haskell-xyz.scm (ghc-bimap): New variable.
---
 gnu/packages/haskell-xyz.scm | 21 +++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm
index e3c5d525b1..337dcac4d8 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -936,6 +936,27 @@ (define-public ghc-bencode
 storing and transmitting loosely structured data.")
     (license license:bsd-3)))
 
+(define-public ghc-bimap
+  (package
+    (name "ghc-bimap")
+    (version "0.5.0")
+    (source (origin
+              (method url-fetch)
+              (uri (hackage-uri "bimap" version))
+              (sha256
+               (base32
+                "158cdwk9jwklcfgbn62dqq255i40w13ifggsdps87sxc5q7lpd5h"))))
+    (build-system haskell-build-system)
+    (properties '((upstream-name . "bimap")))
+    (native-inputs (list ghc-quickcheck))
+    (home-page "https://hackage.haskell.org/package/bimap";)
+    (synopsis "Bidirectional mapping between two key types for Haskell")
+    (description
+     "This pckage provides data structure representing a bidirectional
+mapping between two key types.  Each value in the bimap is associated
+with exactly one value of the opposite type.")
+    (license license:bsd-3)))
+
 (define-public ghc-bifunctors
   (package
     (name "ghc-bifunctors")
-- 
2.41.0






reply via email to

[Prev in Thread] Current Thread [Next in Thread]