From 11ff308ff0f0a8af6cfcda599a9afc463bb5c69f Mon Sep 17 00:00:00 2001 From: "Collin J. Doering" Date: Tue, 28 Feb 2023 14:52:52 -0500 Subject: [PATCH] rekahsoft-gnu: Add ghc-bimap * rekahsoft-gnu/packages/haskell-apps.scm (ghc-bimap): New variable --- rekahsoft-gnu/packages/haskell-apps.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/rekahsoft-gnu/packages/haskell-apps.scm b/rekahsoft-gnu/packages/haskell-apps.scm index c3b0b21..11a90f0 100644 --- a/rekahsoft-gnu/packages/haskell-apps.scm +++ b/rekahsoft-gnu/packages/haskell-apps.scm @@ -31,6 +31,27 @@ #:use-module (gnu packages finance) #:use-module (rekahsoft-gnu packages haskell-web)) +(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)) + (inputs (list ghc-exceptions)) + (home-page "https://github.com/joelwilliamson/bimap") + (synopsis "Bidirectional mapping between two key types") + (description + "This package provides a 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-vty (package (name "ghc-vty")