Subject: [bug#67434] [PATCH 1/3] gnu: Add ghc-bimap

From: Tomás Ortín <[email-masked]>
Date: Fri, 24 Nov 2023 18:22:09 +0100

* gnu/packages/haskell-xyz.scm (ghc-bimap): New variable.

Change-Id: I69d4f1c704ad0ffc27693421d2633ed6bcc4cdf5
---
  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 e34acca909..d733c6a5f6 100644
--- a/gnu/packages/haskell-xyz.scm
+++ b/gnu/packages/haskell-xyz.scm
@@ -33,6 +33,7 @@
  ;;; Copyright © 2022 jgart <[email-masked]>
  ;;; Copyright © 2023 Josselin Poiret <[email-masked]>
  ;;; Copyright © 2023 zamfofex <[email-masked]>
+;;; Copyright © 2023 Tomás Ortín Fernández <[email-masked]>
  ;;;
  ;;; This file is part of GNU Guix.
  ;;;
@@ -2918,6 +2919,26 @@ (define-public ghc-data-ordlist
       "This module provides set and multiset operations on ordered lists.")
      (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)
+    (native-inputs (list ghc-quickcheck))
+    (properties '((upstream-name . "bimap")))
+    (home-page "https://github.com/joelwilliamson/bimap")
+    (synopsis "Bidirectional mapping between two key types")
+    (description
+     "Data structure representing a bidirectional mapping between two
+key types.")
+    (license license:bsd-3)))
+
  (define-public ghc-dbus
    (package
      (name "ghc-dbus")
-- 
2.41.0