Merge pull request #100758 from SuperSandro2000/git-delete-merged-branches

This commit is contained in:
Sandro 2020-11-26 03:52:46 +01:00 committed by GitHub
commit 8585991bfb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 61 additions and 0 deletions

View File

@ -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;
};

View File

@ -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 ];
};
}

View 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 ];
};
}

View File

@ -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 { };