mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 12:53:59 +03:00
Add expression for cabal-delete
This commit is contained in:
parent
3275e47613
commit
00d5f3ab79
34
pkgs/development/tools/haskell/cabal-delete/default.nix
Normal file
34
pkgs/development/tools/haskell/cabal-delete/default.nix
Normal 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;
|
||||
};
|
||||
})
|
@ -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 {};
|
||||
|
Loading…
Reference in New Issue
Block a user