nixpkgs/pkgs/applications/version-management/git-and-tools/git-delete-merged-branches/default.nix
2021-08-26 16:29:11 +02:00

28 lines
738 B
Nix

{ lib, python3Packages, fetchFromGitHub, git }:
python3Packages.buildPythonApplication rec {
pname = "git-delete-merged-branches";
version = "6.4.0";
src = fetchFromGitHub {
owner = "hartwork";
repo = pname;
rev = version;
sha256 = "sha256-swAc8ObZY78nVQyjTrVG81xBqTYnWHVDFpiUApbowqU=";
};
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.gpl3Plus;
maintainers = with maintainers; [ SuperSandro2000 ];
};
}