nixpkgs/pkgs/development/libraries/haskell/QuickCheck/2.7.1.nix

20 lines
623 B
Nix
Raw Normal View History

2014-03-20 09:32:08 +01:00
{ cabal, random, testFramework, tfRandom }:
cabal.mkDerivation (self: {
pname = "QuickCheck";
version = "2.7.1";
sha256 = "1hk19q7lfvja7g626hbbq0xs30zsgjpqfalgmdr24fy8sgdchm21";
2014-03-20 09:32:08 +01:00
buildDepends = [ random tfRandom ];
testDepends = [ testFramework ];
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 ];
};
})