Merge pull request #66509 from emilazy/add-git-revise

git-revise: init at 0.4.2
This commit is contained in:
Marek Mahut
2019-08-12 15:25:42 +02:00
committed by GitHub
3 changed files with 39 additions and 0 deletions

View File

@@ -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 ];
};
}