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