504525a148
GitOrigin-RevId: bd645e8668ec6612439a9ee7e71f7eac4099d4f6
34 lines
784 B
Nix
34 lines
784 B
Nix
{ 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;
|
|
maintainers = with maintainers; [ emily ];
|
|
};
|
|
}
|