Add expression for cabal-delete

This commit is contained in:
John Wiegley 2014-04-15 04:16:55 -05:00
parent 3275e47613
commit 00d5f3ab79
2 changed files with 36 additions and 0 deletions

View File

@ -0,0 +1,34 @@
{ cabal, fetchgit, bytestring ? null, containers ? null, directory ? null,
filepath, process ? null, attoparsec, ghcPaths, transformers }:
let
tag = "0.5.2.0";
in
cabal.mkDerivation (self: {
pname = "cabal-delete";
version = "${tag}";
src = fetchgit {
url = git://github.com/iquiw/cabal-delete.git;
rev = "refs/tags/v${tag}";
sha256 = "1ap319isjg8bafm4jz2krfwvvg11hj5yk0g99a3l1a3a36hpdgzw";
};
isLibrary = false;
isExecutable = true;
buildDepends = [
bytestring
containers
directory
filepath
process
attoparsec
ghcPaths
transformers
];
meta = {
homepage = "https://github.com/iquiw/cabal-delete";
description = "Uninstall packages installed by cabal";
license = self.stdenv.lib.licenses.bsd3;
platforms = self.ghc.meta.platforms;
};
})

View File

@ -2994,6 +2994,8 @@ let result = let callPackage = x : y : modifyPrio (newScope result.finalReturn x
});
in callPackage cabalExpr { inherit src; };
cabalDelete = callPackage ../development/tools/haskell/cabal-delete {};
cabalDev = callPackage ../development/tools/haskell/cabal-dev {};
cabal2Ghci = callPackage ../development/tools/haskell/cabal2ghci {};