python.pkgs.restructuredtext_lint: does not support Python 3.7 yet

This commit is contained in:
Robert Schütz 2019-03-15 17:08:45 +01:00
parent db8198909f
commit 739cf7d8ed

View file

@ -1,11 +1,9 @@
{ lib
, buildPythonPackage
, fetchPypi
, isPy37
, docutils
, nose
, stdenv
, flake8
, pyyaml
, testtools
}:
@ -13,16 +11,19 @@ buildPythonPackage rec {
pname = "restructuredtext_lint";
version = "1.2.2";
# https://github.com/twolfson/restructuredtext-lint/pull/47
disabled = isPy37;
src = fetchPypi {
inherit pname version;
sha256 = "82880a8de8a41bfc84f533744091b1ead8e2ab9ad6c0a3f60f4750ef6c802350";
};
checkInputs = [ nose flake8 pyyaml testtools ];
checkInputs = [ nose testtools ];
propagatedBuildInputs = [ docutils ];
checkPhase = ''
${stdenv.shell} test.sh
nosetests --nocapture
'';
meta = {
@ -30,4 +31,4 @@ buildPythonPackage rec {
homepage = https://github.com/twolfson/restructuredtext-lint;
license = lib.licenses.unlicense;
};
}
}