2014-07-14 16:23:04 +01:00
|
|
|
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
|
|
|
|
|
2012-10-08 09:46:10 +01:00
|
|
|
{ cabal, Cabal, filepath, HTTP, mtl, network, random, time, zlib }:
|
|
|
|
|
|
|
|
cabal.mkDerivation (self: {
|
|
|
|
pname = "cabal-install";
|
2012-11-09 10:34:11 +00:00
|
|
|
version = "1.16.0.2";
|
|
|
|
sha256 = "162nbkkffpbalg368m5s49jrvg9nibdwlwj0j1b8wriyyg4srpv6";
|
2012-10-08 09:46:10 +01:00
|
|
|
isLibrary = false;
|
|
|
|
isExecutable = true;
|
|
|
|
buildDepends = [
|
|
|
|
Cabal filepath HTTP mtl network random time zlib
|
|
|
|
];
|
|
|
|
postInstall = ''
|
|
|
|
mkdir $out/etc
|
|
|
|
mv bash-completion $out/etc/bash_completion.d
|
|
|
|
'';
|
2014-10-14 15:23:32 +01:00
|
|
|
patchPhase = ''
|
|
|
|
sed -i -e 's|random .*1.1,|random,|' cabal-install.cabal
|
|
|
|
'';
|
2012-10-08 09:46:10 +01: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-08 23:35:38 +01:00
|
|
|
hydraPlatforms = self.stdenv.lib.platforms.none;
|
2012-10-08 09:46:10 +01:00
|
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
|
|
|
};
|
|
|
|
})
|