2020-11-30 08:33:03 +00:00
|
|
|
{ lib, python3Packages, fetchFromGitHub, git }:
|
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "git-delete-merged-branches";
|
2022-12-28 21:21:41 +00:00
|
|
|
version = "7.4.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}";
|
2022-12-28 21:21:41 +00:00
|
|
|
sha256 = "sha256-17uFV3pjklqVW5ofeR54mgMh+q3uUCdqZG00Cc+4zFQ=";
|
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
|
|
|
];
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
nativeCheckInputs = [ git ]
|
2020-11-30 08:33:03 +00:00
|
|
|
++ (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 ];
|
|
|
|
};
|
|
|
|
}
|