2019-08-12 06:39:17 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2019-10-05 00:33:47 +01:00
|
|
|
, pythonOlder
|
2019-08-12 06:39:17 +01:00
|
|
|
, tox
|
|
|
|
, pytest
|
|
|
|
, pylint
|
|
|
|
, mypy
|
|
|
|
, black
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "git-revise";
|
2019-11-13 12:41:15 +00:00
|
|
|
version = "0.5.1";
|
2019-08-12 06:39:17 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-11-13 12:41:15 +00:00
|
|
|
sha256 = "0l3xhg00106p7ysg4gl9dna2zcrax58mzmm0ajjaxw58jfn8wsf1";
|
2019-08-12 06:39:17 +01:00
|
|
|
};
|
|
|
|
|
2019-10-05 00:33:47 +01:00
|
|
|
disabled = pythonOlder "3.6";
|
2019-08-12 06:39:17 +01:00
|
|
|
|
|
|
|
checkInputs = [ tox pytest pylint mypy black ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
tox
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Efficiently update, split, and rearrange git commits";
|
2020-04-01 02:11:51 +01:00
|
|
|
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";
|
2019-08-12 06:39:17 +01:00
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ emily ];
|
|
|
|
};
|
|
|
|
}
|