From 739cf7d8edc112a7463596760499a799b80c8317 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCtz?= Date: Fri, 15 Mar 2019 17:08:45 +0100 Subject: [PATCH] python.pkgs.restructuredtext_lint: does not support Python 3.7 yet --- .../restructuredtext_lint/default.nix | 13 +++++++------ 1 file 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 9f73ba283624..eeed42892308 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 +}