haskell-ng: fix old Cabal builds

This commit is contained in:
Peter Simons
2015-01-11 20:56:21 +01:00
parent 78d8c67fa3
commit 921bb64a6d
2 changed files with 27 additions and 0 deletions
@@ -1865,6 +1865,31 @@ self: {
opencv_legacy = null; opencv_ml = null; opencv_objdetect = null;
opencv_video = null; };
"Cabal_1_18_1_6" = callPackage
({ mkDerivation, array, base, bytestring, containers, deepseq
, directory, extensible-exceptions, filepath, HUnit, pretty
, process, QuickCheck, regex-posix, test-framework
, test-framework-hunit, test-framework-quickcheck2, time, unix
}:
mkDerivation {
pname = "Cabal";
version = "1.18.1.6";
sha256 = "15nn6f8bnqzy7pqxb45hdf30qid2hw608dcqgmwrcfrd8zrrvylw";
buildDepends = [
array base bytestring containers deepseq directory filepath pretty
process time unix
];
testDepends = [
base bytestring directory extensible-exceptions filepath HUnit
process QuickCheck regex-posix test-framework test-framework-hunit
test-framework-quickcheck2 unix
];
preCheck = "unset GHC_PACKAGE_PATH; export HOME=$NIX_BUILD_TOP";
homepage = "http://www.haskell.org/cabal/";
description = "A framework for packaging Haskell software";
license = stdenv.lib.licenses.bsd3;
}) {};
"Cabal_1_20_0_3" = callPackage
({ mkDerivation, array, base, bytestring, containers, deepseq
, directory, extensible-exceptions, filepath, HUnit, pretty