summaryrefslogtreecommitdiff
path: root/pkgs/development/python-modules/git-sweep/default.nix
blob: e6f842343335495fda58b9391fd196f1aa1fe53b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
{
  lib,
  buildPythonPackage,
  fetchPypi,
  gitpython,
}:

buildPythonPackage rec {
  pname = "git-sweep";
  version = "0.1.1";
  format = "setuptools";

  src = fetchPypi {
    inherit pname version;
    hash = "sha256-zSnxw3JHsFru9fOZSJZX+XOu144uJ0DaIKYlAtoHV7M=";
  };

  propagatedBuildInputs = [ 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 ];
  };
}