2020-11-30 08:33:03 +00:00
|
|
|
{ lib, python3Packages, fetchFromGitHub, git }:
|
|
|
|
|
|
|
|
python3Packages.buildPythonApplication rec {
|
|
|
|
pname = "git-delete-merged-branches";
|
2024-06-05 15:53:02 +00:00
|
|
|
version = "7.4.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}";
|
2024-06-05 15:53:02 +00:00
|
|
|
sha256 = "sha256-1CUwac2TPU5s1uLS1zPvtXZEGCWYwm1y935jqbI173Q=";
|
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 ];
|
|
|
|
};
|
|
|
|
}
|