diff options
Diffstat (limited to 'pkgs/applications/version-management/git-delete-merged-branches/default.nix')
-rw-r--r-- | pkgs/applications/version-management/git-delete-merged-branches/default.nix | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/pkgs/applications/version-management/git-delete-merged-branches/default.nix b/pkgs/applications/version-management/git-delete-merged-branches/default.nix new file mode 100644 index 00000000000..7d3d1b6b2c6 --- /dev/null +++ b/pkgs/applications/version-management/git-delete-merged-branches/default.nix @@ -0,0 +1,28 @@ +{ lib, python3Packages, fetchFromGitHub, git }: + +python3Packages.buildPythonApplication rec { + pname = "git-delete-merged-branches"; + version = "7.3.1"; + + src = fetchFromGitHub { + owner = "hartwork"; + repo = pname; + rev = "refs/tags/${version}"; + sha256 = "sha256-9Y4n8OWZMwGoCunqwWtkDeDvRcJ4aepw1vgMXFHkhx0="; + }; + + propagatedBuildInputs = with python3Packages; [ + colorama + prompt-toolkit + ]; + + 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.gpl3Plus; + maintainers = with maintainers; [ SuperSandro2000 ]; + }; +} |