2020-11-30 08:33:03 +00:00
|
|
|
{ lib, python3Packages, fetchFromGitHub, git }:
|
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "git-delete-merged-branches";
|
2022-08-12 12:06:08 +00:00
|
|
|
version = "7.0.0";
|
2020-11-30 08:33:03 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hartwork";
|
|
|
|
repo = pname;
|
2022-08-12 12:06:08 +00:00
|
|
|
rev = "refs/tags/${version}";
|
|
|
|
sha256 = "sha256-CPJhd3QXXNm4RGBEDnNOohVOYKVI6I8uc3cDiTrXKvc=";
|
2020-11-30 08:33:03 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
|
|
colorama
|
2021-12-24 04:21:11 +00:00
|
|
|
prompt-toolkit
|
2020-11-30 08:33:03 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
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/";
|
2021-02-13 14:23:35 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2020-11-30 08:33:03 +00:00
|
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
|
|
|
};
|
|
|
|
}
|