Merge pull request #100758 from SuperSandro2000/git-delete-merged-branches
This commit is contained in:
commit
8585991bfb
4 changed files with 61 additions and 0 deletions
|
@ -86,6 +86,8 @@ let
|
|||
|
||||
git-crypt = callPackage ./git-crypt { };
|
||||
|
||||
git-delete-merged-branches = callPackage ./git-delete-merged-branches { };
|
||||
|
||||
git-dit = callPackage ./git-dit {
|
||||
inherit (darwin.apple_sdk.frameworks) CoreFoundation Security;
|
||||
};
|
||||
|
|
|
@ -0,0 +1,28 @@
|
|||
{ lib, python3Packages, fetchFromGitHub, git }:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
pname = "git-delete-merged-branches";
|
||||
version = "6.0.5";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "hartwork";
|
||||
repo = pname;
|
||||
rev = version;
|
||||
sha256 = "1mlmikcpm94nymid35v9rx9dyprhwidgwbdfd5zhsw502d40v0xp";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with python3Packages; [
|
||||
colorama
|
||||
clintermission
|
||||
];
|
||||
|
||||
checkInputs = [ git ]
|
||||
++ (with python3Packages; [ parameterized ]);
|
||||
|
||||
meta = with lib; {
|
||||
description = "Command-line tool to delete merged Git branches";
|
||||
homepage = "https://pypi.org/project/git-delete-merged-branches/";
|
||||
license = licenses.gpl3;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
29
pkgs/development/python-modules/clintermission/default.nix
Normal file
29
pkgs/development/python-modules/clintermission/default.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ lib, buildPythonApplication, fetchFromGitHub, isPy3k, prompt_toolkit }:
|
||||
|
||||
buildPythonApplication rec {
|
||||
pname = "clintermission";
|
||||
version = "0.2.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "sebageek";
|
||||
repo = pname;
|
||||
rev = "v${version}";
|
||||
sha256 = "09wl0rpw6c9hab51rs957z64b0v9j4fcbqbn726wnapf4z5w6yxv";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [ prompt_toolkit ];
|
||||
|
||||
disabled = !isPy3k;
|
||||
|
||||
# repo contains no tests
|
||||
doCheck = false;
|
||||
|
||||
pythonImportsCheck = [ "clintermission" ];
|
||||
|
||||
meta = with lib; {
|
||||
description = "Non-fullscreen command-line selection menu";
|
||||
homepage = "https://github.com/sebageek/clintermission";
|
||||
license = licenses.asl20;
|
||||
maintainers = with maintainers; [ SuperSandro2000 ];
|
||||
};
|
||||
}
|
|
@ -1227,6 +1227,8 @@ in {
|
|||
|
||||
clint = callPackage ../development/python-modules/clint { };
|
||||
|
||||
clintermission = callPackage ../development/python-modules/clintermission { };
|
||||
|
||||
clize = callPackage ../development/python-modules/clize { };
|
||||
|
||||
clldutils = callPackage ../development/python-modules/clldutils { };
|
||||
|
|
Loading…
Reference in a new issue