1{ lib
2, buildPythonPackage
3, fetchPypi
4, docutils
5, nose
6, testtools
7}:
8
9buildPythonPackage rec {
10 pname = "restructuredtext_lint";
11 version = "1.3.0";
12
13 src = fetchPypi {
14 inherit pname version;
15 sha256 = "97b3da356d5b3a8514d8f1f9098febd8b41463bed6a1d9f126cf0a048b6fd908";
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}