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-10-05 00:33:47 +01:00
|
|
|
version = "0.5.0";
|
2019-08-12 06:39:17 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2019-10-05 00:33:47 +01:00
|
|
|
sha256 = "16sxmxksb5gjj6zfh1wy2czqj9nm4sd3j4fbrsphs8l065dzzikj";
|
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";
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|