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