summary refs log tree commit diff
path: root/pkgs/development/python-modules/git-revise/default.nix
blob: 905f38739b261e8787a77896eb8559e362670e2d (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
31
32
33
34
35
36
{ lib
, buildPythonPackage
, fetchPypi
, pythonOlder
, tox
, pytest
, pylint
, mypy
, black
}:

buildPythonPackage rec {
  pname = "git-revise";
  version = "0.5.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "16sxmxksb5gjj6zfh1wy2czqj9nm4sd3j4fbrsphs8l065dzzikj";
  };

  disabled = pythonOlder "3.6";

  checkInputs = [ tox pytest pylint mypy black ];

  checkPhase = ''
    tox
  '';

  meta = with lib; {
    description = "Efficiently update, split, and rearrange git commits";
    homepage = https://github.com/mystor/git-revise;
    changelog = "https://github.com/mystor/git-revise/blob/${version}/CHANGELOG.md";
    license = licenses.mit;
    maintainers = with maintainers; [ emily ];
  };
}