1{ lib 2, buildPythonPackage 3, fetchPypi 4, docutils 5, nose 6, testtools 7}: 8 9buildPythonPackage rec { 10 pname = "restructuredtext_lint"; 11 version = "1.3.2"; 12 13 src = fetchPypi { 14 inherit pname version; 15 sha256 = "d3b10a1fe2ecac537e51ae6d151b223b78de9fafdd50e5eb6b08c243df173c80"; 16 }; 17 18 checkInputs = [ nose testtools ]; 19 propagatedBuildInputs = [ docutils ]; 20 21 checkPhase = '' 22 nosetests --nocapture 23 ''; 24 25 meta = { 26 description = "reStructuredText linter"; 27 homepage = "https://github.com/twolfson/restructuredtext-lint"; 28 license = lib.licenses.unlicense; 29 }; 30}