depot/third_party/nixpkgs/pkgs/development/python-modules/git-revise/default.nix
Default email 587713944a Project import generated by Copybara.
GitOrigin-RevId: 6143fc5eeb9c4f00163267708e26191d1e918932
2024-04-21 17:54:59 +02:00

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