From c42ccd99a5af314475c89b3d45ac05c69e1e50ce Mon Sep 17 00:00:00 2001 From: John Soo Date: Fri, 13 Dec 2019 07:40:38 -0800 Subject: [PATCH 08/22] gnu: Add ghc-protolude. * gnu/packages/haskell-xyz.scm (ghc-protolude): New variable. --- gnu/packages/haskell-xyz.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) diff --git a/gnu/packages/haskell-xyz.scm b/gnu/packages/haskell-xyz.scm index f1c8ae1e89..ad29e62670 100644 --- a/gnu/packages/haskell-xyz.scm +++ b/gnu/packages/haskell-xyz.scm @@ -8863,6 +8863,32 @@ API.") (description "This library provides profunctors for Haskell.") (license license:bsd-3))) +(define-public ghc-protolude + (package + (name "ghc-protolude") + (version "0.2.3") + (source + (origin + (method url-fetch) + (uri (string-append + "mirror://hackage/package/protolude/protolude-" + version + ".tar.gz")) + (sha256 + (base32 + "0zzkyxz0vmcbncpid7gp72fpjj0fla3gqhlfkij5c5lg12skjgfj")))) + (build-system haskell-build-system) + (inputs + `(("ghc-async" ,ghc-async) + ("ghc-hashable" ,ghc-hashable) + ("ghc-mtl-compat" ,ghc-mtl-compat) + ("ghc-transformers-compat" ,ghc-transformers-compat))) + (home-page "https://github.com/sdiehl/protolude") + (synopsis "Small prelude") + (description + "A sensible set of defaults for writing custom Preludes.") + (license license:expat))) + (define-public ghc-psqueues (package (name "ghc-psqueues") -- 2.24.0