Files
nixpkgs/pkgs/development/python-modules/git-sweep/default.nix
2026-07-22 00:23:13 +02:00

36 lines
718 B
Nix

{
lib,
buildPythonPackage,
fetchPypi,
gitpython,
setuptools,
}:
buildPythonPackage (finalAttrs: {
pname = "git-sweep";
version = "0.1.1";
pyproject = true;
src = fetchPypi {
inherit (finalAttrs) pname version;
hash = "sha256-zSnxw3JHsFru9fOZSJZX+XOu144uJ0DaIKYlAtoHV7M=";
};
build-system = [ setuptools ];
dependencies = [ gitpython ];
# Module has no tests
doCheck = false;
pythonImportsCheck = [ "gitsweep" ];
meta = {
description = "Command-line tool that helps you clean up Git branches";
mainProgram = "git-sweep";
homepage = "https://github.com/arc90/git-sweep";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ pSub ];
};
})