about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/git-revise/default.nix
blob: f64e4afa61ada3dae58577ba0743d8b16bb4d6fe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
{ lib
, buildPythonPackage
, pythonOlder
, git
, gnupg
, fetchFromGitHub
, pytestCheckHook
}:

buildPythonPackage rec {
  pname = "git-revise";
  version = "0.7.0";
  format = "setuptools";

  # Missing tests on PyPI
  src = fetchFromGitHub {
    owner = "mystor";
    repo = pname;
    rev = "v${version}";
    hash = "sha256-xV1Z9O5FO4Q/XEpNwnX31tbv8CrXY+wF1Ltpfq+ITRg=";
  };

  disabled = pythonOlder "3.8";

  nativeCheckInputs = [ git gnupg pytestCheckHook ];

  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;
    mainProgram = "git-revise";
    maintainers = with maintainers; [ emily ];
  };
}