From 38dd4c1da55f7047d9307348c845a1677c3b51d4 Mon Sep 17 00:00:00 2001 From: Brian Leung Date: Thu, 18 Jul 2019 07:22:31 +0200 Subject: gnu: Add ghc-microlens-ghc. * gnu/packages/haskell.scm (ghc-microlens-ghc): New variable. --- gnu/packages/haskell.scm | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'gnu/packages') diff --git a/gnu/packages/haskell.scm b/gnu/packages/haskell.scm index d86173f697..a532f1595d 100644 --- a/gnu/packages/haskell.scm +++ b/gnu/packages/haskell.scm @@ -11880,6 +11880,32 @@ mtl package. This package is a part of the readme @uref{https://github.com/aelve/microlens#readme, on Github}.") (license license:bsd-3))) +(define-public ghc-microlens-ghc + (package + (name "ghc-microlens-ghc") + (version "0.4.9.1") + (source + (origin + (method url-fetch) + (uri (string-append + "https://hackage.haskell.org/package/microlens-ghc/microlens-ghc-" + version + ".tar.gz")) + (sha256 + (base32 + "03iwgg8zww9irv59l70c8yy7vzxir1zf66y12210xk91k5hq6jrj")))) + (build-system haskell-build-system) + (inputs `(("ghc-microlens" ,ghc-microlens))) + (home-page "https://github.com/monadfix/microlens") + (synopsis "Use @code{microlens} with GHC libraries like @code{array}") + (description "This library provides everything that @code{microlens} +provides plus instances to make @code{each}, @code{at}, and @code{ix} +usable with arrays, @code{ByteString}, and containers. This package is +a part of the @uref{http://hackage.haskell.org/package/microlens, +microlens} family; see the readme +@uref{https://github.com/aelve/microlens#readme, on Github}.") + (license license:bsd-3))) + (define-public ghc-stylish-haskell (package (name "ghc-stylish-haskell") -- cgit v1.2.3