2014-03-20 09:32:08 +01:00
|
|
|
{ cabal, random, testFramework, tfRandom }:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "QuickCheck";
|
2014-03-22 10:30:13 +01:00
|
|
|
version = "2.7.1";
|
|
|
|
sha256 = "1hk19q7lfvja7g626hbbq0xs30zsgjpqfalgmdr24fy8sgdchm21";
|
2014-03-20 09:32:08 +01:00
|
|
|
buildDepends = [ random tfRandom ];
|
|
|
|
testDepends = [ testFramework ];
|
2014-03-22 10:30:40 +01:00
|
|
|
patchPhase = ''
|
|
|
|
sed -i -e 's|QuickCheck == .*,|QuickCheck,|' QuickCheck.cabal
|
|
|
|
'';
|
2014-03-20 09:32:08 +01: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 ];
|
|
|
|
};
|
|
|
|
})
|