My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/git-revise/default.nix

33 lines
755 B

{ lib
, buildPythonPackage
, pythonOlder
, git
, gnupg
, fetchFromGitHub
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "git-revise";
version = "0.7.0";
# Missing tests on PyPI
src = fetchFromGitHub {
owner = "mystor";
repo = pname;
rev = "v${version}";
sha256 = "sha256-xV1Z9O5FO4Q/XEpNwnX31tbv8CrXY+wF1Ltpfq+ITRg=";
};
disabled = pythonOlder "3.8";
checkInputs = [ 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 ];
};
}