Files
nixpkgs/pkgs/by-name/gi/git-delete-merged-branches/package.nix
2026-07-29 10:17:33 +00:00

36 lines
861 B
Nix

{
lib,
python3Packages,
fetchFromGitHub,
git,
}:
python3Packages.buildPythonApplication (finalAttrs: {
pname = "git-delete-merged-branches";
version = "7.6.1";
pyproject = true;
src = fetchFromGitHub {
owner = "hartwork";
repo = "git-delete-merged-branches";
tag = finalAttrs.version;
sha256 = "sha256-j2m1Xk/PacXlFRt5ELdEUCR8aHtqqMWFhbxHVIwYZo0=";
};
build-system = with python3Packages; [ setuptools ];
dependencies = with python3Packages; [
colorama
prompt-toolkit
];
nativeCheckInputs = [ git ] ++ (with python3Packages; [ parameterized ]);
meta = {
description = "Command-line tool to delete merged Git branches";
homepage = "https://github.com/hartwork/git-delete-merged-branches/";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ SuperSandro2000 ];
};
})