diff options
author | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2019-03-15 17:08:45 +0100 |
---|---|---|
committer | Robert Schütz <robert.schuetz@stud.uni-heidelberg.de> | 2019-03-15 17:09:03 +0100 |
commit | 739cf7d8edc112a7463596760499a799b80c8317 (patch) | |
tree | 0439e06d9cc8a3cff0b470bc97224b03f43747fe /pkgs/development/python-modules/restructuredtext_lint | |
parent | db8198909ff15c6ecbff77f9c19605202a4bc91b (diff) |
python.pkgs.restructuredtext_lint: does not support Python 3.7 yet
Diffstat (limited to 'pkgs/development/python-modules/restructuredtext_lint')
-rw-r--r-- | pkgs/development/python-modules/restructuredtext_lint/default.nix | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/pkgs/development/python-modules/restructuredtext_lint/default.nix b/pkgs/development/python-modules/restructuredtext_lint/default.nix index 9f73ba2836240..eeed428923085 100644 --- a/pkgs/development/python-modules/restructuredtext_lint/default.nix +++ b/pkgs/development/python-modules/restructuredtext_lint/default.nix @@ -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; }; -} \ No newline at end of file +} |