mirror of
https://git.in.rschanz.org/ryan77627/guix.git
synced 2025-01-11 13:49:23 -05:00
gnu: Add ghc-testing-feat.
* gnu/packages/haskell-check.scm (ghc-testing-feat): New variable.
This commit is contained in:
parent
06966c058d
commit
f9cad2a0b9
1 changed files with 27 additions and 0 deletions
|
@ -936,3 +936,30 @@ (define-public ghc-testing-type-modifiers
|
||||||
testing libraries, in an effort to make properties more portable between
|
testing libraries, in an effort to make properties more portable between
|
||||||
testing frameworks.")
|
testing frameworks.")
|
||||||
(license license:unlicense)))
|
(license license:unlicense)))
|
||||||
|
|
||||||
|
(define-public ghc-testing-feat
|
||||||
|
(package
|
||||||
|
(name "ghc-testing-feat")
|
||||||
|
(version "1.1.0.0")
|
||||||
|
(source
|
||||||
|
(origin
|
||||||
|
(method url-fetch)
|
||||||
|
(uri (string-append "https://hackage.haskell.org/package/"
|
||||||
|
"testing-feat/testing-feat-" version ".tar.gz"))
|
||||||
|
(sha256
|
||||||
|
(base32
|
||||||
|
"1v2qzzpf1s008g7q6q67glf7vbm1pkpq4rc3ii74f4g6vhfx610r"))))
|
||||||
|
(build-system haskell-build-system)
|
||||||
|
(inputs
|
||||||
|
`(("ghc-quickcheck" ,ghc-quickcheck)
|
||||||
|
("ghc-size-based" ,ghc-size-based)
|
||||||
|
("ghc-testing-type-modifiers" ,ghc-testing-type-modifiers)
|
||||||
|
("ghc-semigroups" ,ghc-semigroups)))
|
||||||
|
(home-page "https://github.com/JonasDuregard/testing-feat")
|
||||||
|
(synopsis "Functional Enumeration of Algebraic Types")
|
||||||
|
(description "Feat (Functional Enumeration of Algebraic Types)
|
||||||
|
provides enumerations as functions from natural numbers to
|
||||||
|
values (similar to @code{toEnum} but for any algebraic data type). This
|
||||||
|
can be used for SmallCheck-style systematic testing, QuickCheck-style
|
||||||
|
random testing, and hybrids of the two.")
|
||||||
|
(license license:bsd-3)))
|
||||||
|
|
Loading…
Reference in a new issue