2019-08-12 06:39:17 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
2019-10-05 00:33:47 +01:00
|
|
|
, pythonOlder
|
2020-06-15 10:20:00 +01:00
|
|
|
, git
|
|
|
|
, fetchFromGitHub
|
|
|
|
, pytestCheckHook
|
2019-08-12 06:39:17 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "git-revise";
|
2020-06-15 10:20:00 +01:00
|
|
|
version = "0.6.0";
|
2019-08-12 06:39:17 +01:00
|
|
|
|
2020-06-15 10:20:00 +01:00
|
|
|
# Missing tests on PyPI
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "mystor";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "03v791yhips9cxz9hr07rhsgxfhwyqq17rzi7ayjhwvy65s4hzs9";
|
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
|
|
|
|
2020-06-15 10:20:00 +01:00
|
|
|
checkInputs = [ git pytestCheckHook ];
|
2019-08-12 06:39:17 +01:00
|
|
|
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|