diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2020-11-26 03:52:46 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-26 03:52:46 +0100 |
commit | 8585991bfb629edda1e42c191bef935d9d70d690 (patch) | |
tree | 3c43e4fbd840e6e0bfe0b369fd7f60c51bb361fa /pkgs/applications/version-management | |
parent | 0ee27341aea5da382ba93011edd55d8544f250d2 (diff) | |
parent | 28bb32ff9e7385ca75e597488296477c9aeca1ed (diff) |
Merge pull request #100758 from SuperSandro2000/git-delete-merged-branches
Diffstat (limited to 'pkgs/applications/version-management')
-rw-r--r-- | pkgs/applications/version-management/git-and-tools/default.nix | 2 | ||||
-rw-r--r-- | pkgs/applications/version-management/git-and-tools/git-delete-merged-branches/default.nix | 28 |
2 files changed, 30 insertions, 0 deletions
diff --git a/pkgs/applications/version-management/git-and-tools/default.nix b/pkgs/applications/version-management/git-and-tools/default.nix index 03e81a91b87f..477d9ca3ea6f 100644 --- a/pkgs/applications/version-management/git-and-tools/default.nix +++ b/pkgs/applications/version-management/git-and-tools/default.nix @@ -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; }; diff --git a/pkgs/applications/version-management/git-and-tools/git-delete-merged-branches/default.nix b/pkgs/applications/version-management/git-and-tools/git-delete-merged-branches/default.nix new file mode 100644 index 000000000000..d5abd0a59761 --- /dev/null +++ b/pkgs/applications/version-management/git-and-tools/git-delete-merged-branches/default.nix @@ -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 ]; + }; +} |