1{ lib
2, buildPythonPackage
3, pythonOlder
4, git
5, fetchFromGitHub
6, pytestCheckHook
7}:
8
9buildPythonPackage rec {
10 pname = "git-revise";
11 version = "0.6.0";
12
13 # Missing tests on PyPI
14 src = fetchFromGitHub {
15 owner = "mystor";
16 repo = pname;
17 rev = "v${version}";
18 sha256 = "03v791yhips9cxz9hr07rhsgxfhwyqq17rzi7ayjhwvy65s4hzs9";
19 };
20
21 disabled = pythonOlder "3.6";
22
23 checkInputs = [ git pytestCheckHook ];
24
25 meta = with lib; {
26 description = "Efficiently update, split, and rearrange git commits";
27 homepage = "https://github.com/mystor/git-revise";
28 changelog = "https://github.com/mystor/git-revise/blob/${version}/CHANGELOG.md";
29 license = licenses.mit;
30 maintainers = with maintainers; [ emily ];
31 };
32}