2014-07-14 19:23:04 +04:00
|
|
|
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
|
|
|
|
|
2014-12-18 20:36:49 +03:00
|
|
|
{ cabal, Cabal, filepath, HTTP, HUnit, mtl, network, networkUri
|
|
|
|
, QuickCheck, random, stm, testFramework, testFrameworkHunit
|
2014-04-20 23:04:41 +04:00
|
|
|
, testFrameworkQuickcheck2, time, zlib
|
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "cabal-install";
|
2015-01-01 22:57:15 +03:00
|
|
|
version = "1.20.0.6";
|
|
|
|
sha256 = "1hc187yzl59518cswk25xzsabn9dvm4wqpq817hmclrvkf4zr3pl";
|
2014-04-20 23:04:41 +04:00
|
|
|
isLibrary = false;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [
|
2014-12-18 20:36:49 +03:00
|
|
|
Cabal filepath HTTP mtl network networkUri random stm time zlib
|
2014-04-20 23:04:41 +04:00
|
|
|
];
|
|
|
|
testDepends = [
|
2015-01-01 22:57:15 +03:00
|
|
|
Cabal filepath HTTP HUnit mtl network networkUri QuickCheck stm
|
|
|
|
testFramework testFrameworkHunit testFrameworkQuickcheck2 time zlib
|
2014-04-20 23:04:41 +04:00
|
|
|
];
|
2014-12-18 20:36:49 +03:00
|
|
|
doCheck = false;
|
2014-04-20 23:04:41 +04:00
|
|
|
postInstall = ''
|
|
|
|
mkdir $out/etc
|
|
|
|
mv bash-completion $out/etc/bash_completion.d
|
|
|
|
'';
|
|
|
|
meta = {
|
|
|
|
homepage = "http://www.haskell.org/cabal/";
|
|
|
|
description = "The command-line interface for Cabal and Hackage";
|
|
|
|
license = self.stdenv.lib.licenses.bsd3;
|
|
|
|
platforms = self.ghc.meta.platforms;
|
|
|
|
};
|
|
|
|
})
|