Add cabal-dev.

This commit is contained in:
Andres Loeh 2012-10-30 09:03:53 +01:00
parent 472c5a5d77
commit 4c5b56d212
2 changed files with 28 additions and 0 deletions

View File

@ -0,0 +1,21 @@
{ cabal, Cabal, cabalInstall, filepath, HTTP, mtl, network, tar
, transformers, zlib
}:
cabal.mkDerivation (self: {
pname = "cabal-dev";
version = "0.9.1";
sha256 = "1brz0nw959jdyjrhjqy9sixsb316hjmw4pxxsybfl8vixsivdfh6";
isLibrary = false;
isExecutable = true;
buildDepends = [
Cabal filepath HTTP mtl network tar transformers zlib
];
buildTools = [ cabalInstall ];
meta = {
homepage = "http://github.com/creswick/cabal-dev";
description = "Manage sandboxed Haskell build environments";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -1904,6 +1904,13 @@ let result = let callPackage = x : y : modifyPrio (newScope result.final x y);
cabal2nix = callPackage ../development/tools/haskell/cabal2nix {};
cabalDev = callPackage ../development/tools/haskell/cabal-dev {
mtl = self.mtl_2_0_1_0.override { transformers = self.transformers_0_2_2_0; };
transformers = self.transformers_0_2_2_0;
tar = self.tar_0_3_2_0;
};
cabalGhci = callPackage ../development/tools/haskell/cabal-ghci {};
cabalInstall_0_6_2 = callPackage ../tools/package-management/cabal-install/0.6.2.nix {};