2020-04-24 23:36:52 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, docutils
|
|
|
|
, nose
|
|
|
|
, testtools
|
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "restructuredtext_lint";
|
2020-12-07 07:45:13 +00:00
|
|
|
version = "1.3.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-12-07 07:45:13 +00:00
|
|
|
sha256 = "d3b10a1fe2ecac537e51ae6d151b223b78de9fafdd50e5eb6b08c243df173c80";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
checkInputs = [ nose testtools ];
|
|
|
|
propagatedBuildInputs = [ docutils ];
|
|
|
|
|
|
|
|
checkPhase = ''
|
|
|
|
nosetests --nocapture
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "reStructuredText linter";
|
|
|
|
homepage = "https://github.com/twolfson/restructuredtext-lint";
|
|
|
|
license = lib.licenses.unlicense;
|
|
|
|
};
|
|
|
|
}
|