python.pkgs.restructuredtext_lint: does not support Python 3.7 yet
This commit is contained in:
parent
db8198909f
commit
739cf7d8ed
@ -1,11 +1,9 @@
|
|||||||
{ lib
|
{ lib
|
||||||
, buildPythonPackage
|
, buildPythonPackage
|
||||||
, fetchPypi
|
, fetchPypi
|
||||||
|
, isPy37
|
||||||
, docutils
|
, docutils
|
||||||
, nose
|
, nose
|
||||||
, stdenv
|
|
||||||
, flake8
|
|
||||||
, pyyaml
|
|
||||||
, testtools
|
, testtools
|
||||||
}:
|
}:
|
||||||
|
|
||||||
@ -13,16 +11,19 @@ buildPythonPackage rec {
|
|||||||
pname = "restructuredtext_lint";
|
pname = "restructuredtext_lint";
|
||||||
version = "1.2.2";
|
version = "1.2.2";
|
||||||
|
|
||||||
|
# https://github.com/twolfson/restructuredtext-lint/pull/47
|
||||||
|
disabled = isPy37;
|
||||||
|
|
||||||
src = fetchPypi {
|
src = fetchPypi {
|
||||||
inherit pname version;
|
inherit pname version;
|
||||||
sha256 = "82880a8de8a41bfc84f533744091b1ead8e2ab9ad6c0a3f60f4750ef6c802350";
|
sha256 = "82880a8de8a41bfc84f533744091b1ead8e2ab9ad6c0a3f60f4750ef6c802350";
|
||||||
};
|
};
|
||||||
|
|
||||||
checkInputs = [ nose flake8 pyyaml testtools ];
|
checkInputs = [ nose testtools ];
|
||||||
propagatedBuildInputs = [ docutils ];
|
propagatedBuildInputs = [ docutils ];
|
||||||
|
|
||||||
checkPhase = ''
|
checkPhase = ''
|
||||||
${stdenv.shell} test.sh
|
nosetests --nocapture
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
@ -30,4 +31,4 @@ buildPythonPackage rec {
|
|||||||
homepage = https://github.com/twolfson/restructuredtext-lint;
|
homepage = https://github.com/twolfson/restructuredtext-lint;
|
||||||
license = lib.licenses.unlicense;
|
license = lib.licenses.unlicense;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user