2014-07-14 17:23:04 +02:00
|
|
|
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
|
|
|
|
|
2013-09-06 13:11:23 +02:00
|
|
|
{ cabal, Cabal, filepath, HTTP, HUnit, mtl, network, QuickCheck
|
|
|
|
, random, stm, testFramework, testFrameworkHunit
|
|
|
|
, testFrameworkQuickcheck2, time, zlib
|
|
|
|
}:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "cabal-install";
|
2014-03-07 23:11:10 +01:00
|
|
|
version = "1.18.0.3";
|
|
|
|
sha256 = "0h01mz6p4fwl8h6k2ybrlp598f0j3n2zasrr63fy0vjbjibmgf41";
|
2013-09-06 13:11:23 +02:00
|
|
|
isLibrary = false;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [
|
|
|
|
Cabal filepath HTTP mtl network random stm time zlib
|
|
|
|
];
|
|
|
|
testDepends = [
|
|
|
|
Cabal filepath HTTP HUnit mtl network QuickCheck stm testFramework
|
|
|
|
testFrameworkHunit testFrameworkQuickcheck2 time zlib
|
|
|
|
];
|
|
|
|
postInstall = ''
|
|
|
|
mkdir $out/etc
|
|
|
|
mv bash-completion $out/etc/bash_completion.d
|
|
|
|
'';
|
2014-10-14 15:20:50 +02:00
|
|
|
patchPhase = ''
|
|
|
|
sed -i -e 's|random .*1.1,|random,|' cabal-install.cabal
|
|
|
|
'';
|
2013-09-06 13:11:23 +02:00
|
|
|
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;
|
2014-08-09 00:35:38 +02:00
|
|
|
hydraPlatforms = self.stdenv.lib.platforms.none;
|
2013-09-06 13:11:23 +02:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
|
|
|
};
|
|
|
|
})
|