2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, pythonOlder
|
2020-07-18 16:06:22 +00:00
|
|
|
, git
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pytestCheckHook
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "git-revise";
|
2020-07-18 16:06:22 +00:00
|
|
|
version = "0.6.0";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
# Missing tests on PyPI
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mystor";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "03v791yhips9cxz9hr07rhsgxfhwyqq17rzi7ayjhwvy65s4hzs9";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
|
2020-07-18 16:06:22 +00:00
|
|
|
checkInputs = [ git pytestCheckHook ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Efficiently update, split, and rearrange git commits";
|
|
|
|
homepage = "https://github.com/mystor/git-revise";
|
|
|
|
changelog = "https://github.com/mystor/git-revise/blob/${version}/CHANGELOG.md";
|
|
|
|
license = licenses.mit;
|
|
|
|
maintainers = with maintainers; [ emily ];
|
|
|
|
};
|
|
|
|
}
|