2014-03-20 08:32:08 +00:00
|
|
|
{ cabal, random, testFramework, tfRandom }:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "QuickCheck";
|
2014-03-22 09:30:13 +00:00
|
|
|
version = "2.7.1";
|
|
|
|
sha256 = "1hk19q7lfvja7g626hbbq0xs30zsgjpqfalgmdr24fy8sgdchm21";
|
2014-03-20 08:32:08 +00:00
|
|
|
buildDepends = [ random tfRandom ];
|
|
|
|
testDepends = [ testFramework ];
|
2014-03-22 09:30:40 +00:00
|
|
|
patchPhase = ''
|
|
|
|
sed -i -e 's|QuickCheck == .*,|QuickCheck,|' QuickCheck.cabal
|
|
|
|
'';
|
2014-03-20 08:32:08 +00:00
|
|
|
meta = {
|
|
|
|
homepage = "http://code.haskell.org/QuickCheck";
|
|
|
|
description = "Automatic testing of Haskell programs";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
|
|
|
};
|
|
|
|
})
|