diff options
Diffstat (limited to 'pkgs/development/python-modules/git-revise/default.nix')
-rw-r--r-- | pkgs/development/python-modules/git-revise/default.nix | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/git-revise/default.nix b/pkgs/development/python-modules/git-revise/default.nix new file mode 100644 index 0000000000000..86d4decc6d8fc --- /dev/null +++ b/pkgs/development/python-modules/git-revise/default.nix @@ -0,0 +1,35 @@ +{ lib +, buildPythonPackage +, fetchPypi +, pythonAtLeast +, tox +, pytest +, pylint +, mypy +, black +}: + +buildPythonPackage rec { + pname = "git-revise"; + version = "0.4.2"; + + src = fetchPypi { + inherit pname version; + sha256 = "1mq1fh8m6jxl052d811cgpl378hiq20a8zrhdjn0i3dqmxrcb8vs"; + }; + + disabled = !(pythonAtLeast "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; + license = licenses.mit; + maintainers = with maintainers; [ emily ]; + }; +} |