1{ 2 lib, 3 buildPythonPackage, 4 fetchPypi, 5 gitpython, 6 pythonOlder, 7}: 8 9buildPythonPackage rec { 10 pname = "git-sweep"; 11 version = "0.1.1"; 12 format = "setuptools"; 13 14 disabled = pythonOlder "3.7"; 15 16 src = fetchPypi { 17 inherit pname version; 18 hash = "sha256-zSnxw3JHsFru9fOZSJZX+XOu144uJ0DaIKYlAtoHV7M="; 19 }; 20 21 propagatedBuildInputs = [ gitpython ]; 22 23 # Module has no tests 24 doCheck = false; 25 26 pythonImportsCheck = [ "gitsweep" ]; 27 28 meta = with lib; { 29 description = "Command-line tool that helps you clean up Git branches"; 30 mainProgram = "git-sweep"; 31 homepage = "https://github.com/arc90/git-sweep"; 32 license = licenses.mit; 33 maintainers = with maintainers; [ pSub ]; 34 }; 35}