gnu: Add ghc-microlens-mtl.

* gnu/packages/haskell.scm (ghc-microlens-mtl): New variable.
This commit is contained in:
Brian Leung 2019-07-18 07:22:18 +02:00 committed by Timothy Sample
parent 64b7c06e18
commit ef803cb520
No known key found for this signature in database
GPG Key ID: 2AC6A5EC1C357C59
1 changed files with 29 additions and 0 deletions

View File

@ -11851,6 +11851,35 @@ provides a means to round-trip any code that can be compiled by GHC, currently
excluding @file{.lhs} files.") excluding @file{.lhs} files.")
(license license:bsd-3))) (license license:bsd-3)))
(define-public ghc-microlens-mtl
(package
(name "ghc-microlens-mtl")
(version "0.1.11.1")
(source
(origin
(method url-fetch)
(uri (string-append
"https://hackage.haskell.org/package/microlens-mtl/microlens-mtl-"
version
".tar.gz"))
(sha256
(base32
"0l6z1gkzwcpv89bxf5vgfrjb6gq2pj7sjjc53nvi5b9alx34zryk"))))
(build-system haskell-build-system)
(inputs
`(("ghc-microlens" ,ghc-microlens)
("ghc-transformers-compat" ,ghc-transformers-compat)))
(home-page "https://github.com/monadfix/microlens")
(synopsis
"@code{microlens} support for Reader/Writer/State from mtl")
(description
"This package contains functions (like @code{view} or @code{+=}) which
work on @code{MonadReader}, @code{MonadWriter}, and @code{MonadState} from the
mtl package. 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 (define-public ghc-stylish-haskell
(package (package
(name "ghc-stylish-haskell") (name "ghc-stylish-haskell")