2020-10-16 19:05:49 +00:00
|
|
|
{ lib, python3Packages, fetchFromGitHub, git }:
|
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "git-delete-merged-branches";
|
2022-12-24 02:29:42 +00:00
|
|
|
version = "7.4.0";
|
2020-10-16 19:05:49 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "hartwork";
|
|
|
|
repo = pname;
|
2022-07-30 05:08:19 +00:00
|
|
|
rev = "refs/tags/${version}";
|
2022-12-24 02:29:42 +00:00
|
|
|
sha256 = "sha256-17uFV3pjklqVW5ofeR54mgMh+q3uUCdqZG00Cc+4zFQ=";
|
2020-10-16 19:05:49 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
propagatedBuildInputs = with python3Packages; [
|
|
|
|
colorama
|
2021-12-21 23:24:29 +00:00
|
|
|
prompt-toolkit
|
2020-10-16 19:05:49 +00:00
|
|
|
];
|
|
|
|
|
2023-01-21 12:00:00 +00:00
|
|
|
nativeCheckInputs = [ git ]
|
2020-10-16 19:05:49 +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-12 03:16:58 +00:00
|
|
|
license = licenses.gpl3Plus;
|
2020-10-16 19:05:49 +00:00
|
|
|
maintainers = with maintainers; [ SuperSandro2000 ];
|
|
|
|
};
|
|
|
|
}
|