mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 13:41:26 +00:00
35 lines
1.1 KiB
Nix
35 lines
1.1 KiB
Nix
# This file was auto-generated by cabal2nix. Please do NOT edit manually!
|
|
|
|
{ cabal, Cabal, extensibleExceptions, filepath, HTTP, HUnit, mtl
|
|
, network, networkUri, QuickCheck, random, regexPosix, stm
|
|
, testFramework, testFrameworkHunit, testFrameworkQuickcheck2, time
|
|
, zlib
|
|
}:
|
|
|
|
cabal.mkDerivation (self: {
|
|
pname = "cabal-install";
|
|
version = "1.22.0.0";
|
|
sha256 = "17cf2bkrxawjldhkq4hzlzlf7b2xqgkrzl7fa31whnnpni68v6jz";
|
|
isLibrary = false;
|
|
isExecutable = true;
|
|
buildDepends = [
|
|
Cabal filepath HTTP mtl network networkUri random stm time zlib
|
|
];
|
|
testDepends = [
|
|
Cabal extensibleExceptions filepath HTTP HUnit mtl network
|
|
networkUri QuickCheck regexPosix stm testFramework
|
|
testFrameworkHunit testFrameworkQuickcheck2 time zlib
|
|
];
|
|
doCheck = false;
|
|
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;
|
|
};
|
|
})
|