mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 22:20:51 +00:00
31 lines
954 B
Nix
31 lines
954 B
Nix
{ cabal, Cabal, filepath, HTTP, HUnit, mtl, network, QuickCheck
|
|
, random, stm, testFramework, testFrameworkHunit
|
|
, testFrameworkQuickcheck2, time, zlib
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "cabal-install";
|
|
version = "1.20.0.3";
|
|
sha256 = "050b9dc4khfc1fs283p1635zni25z4b55gi5ffwvg4mfpkrmdgfj";
|
|
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
|
|
'';
|
|
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;
|
|
maintainers = [ self.stdenv.lib.maintainers.andres ];
|
|
};
|
|
})
|