Skip to content

Commit

Permalink
python.pkgs.restructuredtext_lint: does not support Python 3.7 yet
Browse files Browse the repository at this point in the history
  • Loading branch information
Robert Schütz committed Mar 15, 2019
1 parent db81989 commit 739cf7d
Showing 1 changed file with 7 additions and 6 deletions.
@@ -1,33 +1,34 @@
{ lib
, buildPythonPackage
, fetchPypi
, isPy37
, docutils
, nose
, stdenv
, flake8
, pyyaml
, testtools
}:

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 = {
description = "reStructuredText linter";
homepage = https://github.com/twolfson/restructuredtext-lint;
license = lib.licenses.unlicense;
};
}
}

0 comments on commit 739cf7d

Please sign in to comment.