python310Packages.git-sweep: rename GitPython

This commit is contained in:
Fabian Affolter 2022-12-05 19:33:15 +01:00
parent 5b73b8591a
commit 24147918a7

View file

@ -1,24 +1,32 @@
{ lib { lib
, buildPythonPackage , buildPythonPackage
, fetchPypi , fetchPypi
, GitPython , gitpython
, pythonOlder
}: }:
buildPythonPackage rec { buildPythonPackage rec {
pname = "git-sweep"; pname = "git-sweep";
version = "0.1.1"; version = "0.1.1";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchPypi { src = fetchPypi {
inherit pname version; inherit pname version;
sha256 = "1csp0zd049d643d409rfivbswwzrayb4i6gkypp5mc27fb1z2afd"; hash = "sha256-zSnxw3JHsFru9fOZSJZX+XOu144uJ0DaIKYlAtoHV7M=";
}; };
propagatedBuildInputs = [ GitPython ]; propagatedBuildInputs = [
gitpython
];
# no tests # Module has no tests
doCheck = false; doCheck = false;
pythonImportsCheck = [ "gitsweep" ]; pythonImportsCheck = [
"gitsweep"
];
meta = with lib; { meta = with lib; {
description = "A command-line tool that helps you clean up Git branches"; description = "A command-line tool that helps you clean up Git branches";
@ -26,5 +34,4 @@ buildPythonPackage rec {
license = licenses.mit; license = licenses.mit;
maintainers = with maintainers; [ pSub ]; maintainers = with maintainers; [ pSub ];
}; };
} }