about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/git-sweep/default.nix
blob: 2d7da28535cf794cdd0a89783e5904a2b81497db (plain) (blame)
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
{ lib
, buildPythonPackage
, fetchPypi
, GitPython
}:

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

  src = fetchPypi {
    inherit pname version;
    sha256 = "1csp0zd049d643d409rfivbswwzrayb4i6gkypp5mc27fb1z2afd";
  };

  propagatedBuildInputs = [ GitPython ];

  # no tests
  doCheck = false;

  pythonImportsCheck = [ "gitsweep" ];

  meta = with lib; {
    description = "A command-line tool that helps you clean up Git branches";
    homepage = "https://github.com/arc90/git-sweep";
    license = licenses.mit;
    maintainers = with maintainers; [ pSub ];
  };

}