3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

gnu: Add ghc-microlens-platform.

* gnu/packages/haskell.scm (ghc-microlens-platform): New variable.
This commit is contained in:
Brian Leung 2019-07-18 07:22:47 +02:00 committed by Timothy Sample
parent 38dd4c1da5
commit 37850fb9a0
No known key found for this signature in database
GPG key ID: 2AC6A5EC1C357C59

View file

@ -11906,6 +11906,49 @@ microlens} family; see the readme
@uref{https://github.com/aelve/microlens#readme, on Github}.")
(license license:bsd-3)))
(define-public ghc-microlens-platform
(package
(name "ghc-microlens-platform")
(version "0.3.10")
(source
(origin
(method url-fetch)
(uri (string-append
"https://hackage.haskell.org/package/"
"microlens-platform/microlens-platform-" version ".tar.gz"))
(sha256
(base32
"1d4nhmgf9jq0ixc7qhwm7aaw3xdr0nalw58d0ydsydgf02cyazwv"))))
(build-system haskell-build-system)
(inputs
`(("ghc-hashable" ,ghc-hashable)
("ghc-microlens" ,ghc-microlens)
("ghc-microlens-ghc" ,ghc-microlens-ghc)
("ghc-microlens-mtl" ,ghc-microlens-mtl)
("ghc-microlens-th" ,ghc-microlens-th)
("ghc-unordered-containers" ,ghc-unordered-containers)
("ghc-vector" ,ghc-vector)))
(home-page "https://github.com/monadfix/microlens")
(synopsis "Feature-complete microlens")
(description
"This package exports a module which is the recommended starting point
for using @uref{http://hackage.haskell.org/package/microlens, microlens} if
you aren't trying to keep your dependencies minimal. By importing
@code{Lens.Micro.Platform} you get all functions and instances from
@uref{http://hackage.haskell.org/package/microlens, microlens},
@uref{http://hackage.haskell.org/package/microlens-th, microlens-th},
@uref{http://hackage.haskell.org/package/microlens-mtl, microlens-mtl},
@uref{http://hackage.haskell.org/package/microlens-ghc, microlens-ghc}, as
well as instances for @code{Vector}, @code{Text}, and @code{HashMap}. The
minor and major versions of @code{microlens-platform} are incremented whenever
the minor and major versions of any other @code{microlens} package are
incremented, so you can depend on the exact version of
@code{microlens-platform} without specifying the version of @code{microlens}
you need. 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")