The 'random' library is no longer a core library in GHC 7.2.1. For older

versions of the compiler, haskell-packages.nix provides a null attribute.

svn path=/nixpkgs/trunk/; revision=28500
This commit is contained in:
Peter Simons
2011-08-12 00:18:56 +00:00
parent b5dcc70218
commit 468c5dbc5c
41 changed files with 107 additions and 91 deletions

View File

@@ -1,10 +1,12 @@
{ cabal, QuickCheck, extensibleExceptions, testFramework }:
{ cabal, QuickCheck, extensibleExceptions, random, testFramework }:
cabal.mkDerivation (self: {
pname = "test-framework-quickcheck2";
version = "0.2.10";
sha256 = "12c37m74idjydxshgms9ib9ii2rpvy4647kra2ards1w2jmnr6w3";
buildDepends = [ QuickCheck extensibleExceptions testFramework ];
buildDepends = [
QuickCheck extensibleExceptions random testFramework
];
meta = {
homepage = "http://batterseapower.github.com/test-framework/";
description = "QuickCheck2 support for the test-framework package";