gnu: Add ghc-hspec-megaparsec.
* gnu/packages/haskell-xyz.scm (ghc-hspec-megaparsec): New variable. Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
parent
232eab1d30
commit
e16f7de88f
1 changed files with 28 additions and 0 deletions
|
@ -5928,6 +5928,34 @@ are described in a file named @code{package.yaml}. Both @code{cabal2nix} and
|
||||||
@code{package.yaml}.")
|
@code{package.yaml}.")
|
||||||
(license license:expat)))
|
(license license:expat)))
|
||||||
|
|
||||||
|
(define-public ghc-hspec-megaparsec
|
||||||
|
(package
|
||||||
|
(name "ghc-hspec-megaparsec")
|
||||||
|
(version "2.0.1")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append
|
||||||
|
"https://hackage.haskell.org/"
|
||||||
|
"package/hspec-megaparsec/hspec-megaparsec-"
|
||||||
|
version
|
||||||
|
".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"0w8nn2rh01lkiwsiyqh3gviklhfmy0245rakj94dmliyljw8skfg"))))
|
||||||
|
(build-system haskell-build-system)
|
||||||
|
(inputs
|
||||||
|
`(("ghc-hspec-expectations" ,ghc-hspec-expectations)
|
||||||
|
("ghc-megaparsec" ,ghc-megaparsec)))
|
||||||
|
(native-inputs
|
||||||
|
`(("ghc-hspec" ,ghc-hspec)))
|
||||||
|
(home-page "https://github.com/mrkkrp/hspec-megaparsec")
|
||||||
|
(synopsis "Utility functions for testing Megaparsec parsers with Hspec")
|
||||||
|
(description
|
||||||
|
"Provides a small set of helper functions for testing Megaparsec parsers
|
||||||
|
with Hspec.")
|
||||||
|
(license license:bsd-3)))
|
||||||
|
|
||||||
(define-public ghc-hs-bibutils
|
(define-public ghc-hs-bibutils
|
||||||
(package
|
(package
|
||||||
(name "ghc-hs-bibutils")
|
(name "ghc-hs-bibutils")
|
||||||
|
|
Reference in a new issue