mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 15:13:46 +00:00
37 lines
721 B
Nix
37 lines
721 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, pythonOlder
|
|
, tox
|
|
, pytest
|
|
, pylint
|
|
, mypy
|
|
, black
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "git-revise";
|
|
version = "0.5.0";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "16sxmxksb5gjj6zfh1wy2czqj9nm4sd3j4fbrsphs8l065dzzikj";
|
|
};
|
|
|
|
disabled = pythonOlder "3.6";
|
|
|
|
checkInputs = [ tox pytest pylint mypy black ];
|
|
|
|
checkPhase = ''
|
|
tox
|
|
'';
|
|
|
|
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 ];
|
|
};
|
|
}
|