mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 22:32:58 +03:00
git-revise: 0.5.1 -> 0.6.0
This commit is contained in:
parent
d028a64e13
commit
bb70e10541
@ -1,30 +1,26 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
|
||||||
, pythonOlder
|
, pythonOlder
|
||||||
, tox
|
, git
|
||||||
, pytest
|
, fetchFromGitHub
|
||||||
, pylint
|
, pytestCheckHook
|
||||||
, mypy
|
|
||||||
, black
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildPythonPackage rec {
|
buildPythonPackage rec {
|
||||||
pname = "git-revise";
|
pname = "git-revise";
|
||||||
version = "0.5.1";
|
version = "0.6.0";
|
||||||
|
|
||||||
src = fetchPypi {
|
# Missing tests on PyPI
|
||||||
inherit pname version;
|
src = fetchFromGitHub {
|
||||||
sha256 = "0l3xhg00106p7ysg4gl9dna2zcrax58mzmm0ajjaxw58jfn8wsf1";
|
owner = "mystor";
|
||||||
|
repo = pname;
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "03v791yhips9cxz9hr07rhsgxfhwyqq17rzi7ayjhwvy65s4hzs9";
|
||||||
};
|
};
|
||||||
|
|
||||||
disabled = pythonOlder "3.6";
|
disabled = pythonOlder "3.6";
|
||||||
|
|
||||||
checkInputs = [ tox pytest pylint mypy black ];
|
checkInputs = [ git pytestCheckHook ];
|
||||||
|
|
||||||
checkPhase = ''
|
|
||||||
tox
|
|
||||||
'';
|
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Efficiently update, split, and rearrange git commits";
|
description = "Efficiently update, split, and rearrange git commits";
|
||||||
|
Loading…
Reference in New Issue
Block a user