nixpkgs/pkgs/development/python-modules/git-revise/default.nix

37 lines
721 B
Nix
Raw Normal View History

{ lib
, buildPythonPackage
, fetchPypi
2019-10-05 00:33:47 +01:00
, pythonOlder
, tox
, pytest
, pylint
, mypy
, black
}:
buildPythonPackage rec {
pname = "git-revise";
2019-11-13 12:41:15 +00:00
version = "0.5.1";
src = fetchPypi {
inherit pname version;
2019-11-13 12:41:15 +00:00
sha256 = "0l3xhg00106p7ysg4gl9dna2zcrax58mzmm0ajjaxw58jfn8wsf1";
};
2019-10-05 00:33:47 +01:00
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;
2019-10-05 00:33:47 +01:00
changelog = "https://github.com/mystor/git-revise/blob/${version}/CHANGELOG.md";
license = licenses.mit;
maintainers = with maintainers; [ emily ];
};
}