a66bca1520
GitOrigin-RevId: 40f79f003b6377bd2f4ed4027dde1f8f922995dd
28 lines
753 B
Nix
28 lines
753 B
Nix
{ 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 ];
|
|
};
|
|
}
|