gnu: Add ghc-genvalidity.

* gnu/packages/haskell.scm (ghc-genvalidity): New variable.
This commit is contained in:
Brian Leung 2019-06-20 07:56:04 +02:00 committed by Timothy Sample
parent f26f2e757f
commit 522b61ab80
No known key found for this signature in database
GPG Key ID: 2AC6A5EC1C357C59
1 changed files with 31 additions and 0 deletions

View File

@ -11563,6 +11563,37 @@ stand for certain ASCII character sequences, i.e. → instead of @code{->},
instead of @code{forall} and many others.")
(license license:bsd-3)))
(define-public ghc-genvalidity
(package
(name "ghc-genvalidity")
(version "0.5.1.0")
(source
(origin
(method url-fetch)
(uri (string-append
"https://hackage.haskell.org/package/genvalidity/genvalidity-"
version
".tar.gz"))
(sha256
(base32
"17ykq38j9a2lzir6dqz5jgy6ndaafrpkhqhcg96c5ppg7wcxaaj0"))))
(build-system haskell-build-system)
(inputs
`(("ghc-quickcheck" ,ghc-quickcheck)
("ghc-validity" ,ghc-validity)))
(native-inputs
`(("ghc-hspec" ,ghc-hspec)
("hspec-discover" ,hspec-discover)
("ghc-hspec-core" ,ghc-hspec-core)))
(home-page
"https://github.com/NorfairKing/validity")
(synopsis
"Testing utilities for the @code{validity} library")
(description
"This package provides testing utilities that are useful in conjunction
with the @code{Validity} typeclass.")
(license license:expat)))
(define-public ghc-validity
(package
(name "ghc-validity")