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