mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-09-28 10:50:15 +00:00
36 lines
861 B
Nix
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 ];
|
|
};
|
|
})
|