2020-11-30 08:33:03 +00:00
|
|
|
{ lib, python3Packages, fetchFromGitHub, git }:
|
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "git-delete-merged-branches";
|
2022-12-17 10:02:37 +00:00
|
|
|
version = "7.3.1";
|
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}";
|
2022-12-17 10:02:37 +00:00
|
|
|
sha256 = "sha256-9Y4n8OWZMwGoCunqwWtkDeDvRcJ4aepw1vgMXFHkhx0=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|