2017-09-05 10:16:41 +01:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
|
|
|
, pbr
|
|
|
|
, docutils
|
|
|
|
, six
|
|
|
|
, chardet
|
|
|
|
, stevedore
|
|
|
|
, restructuredtext_lint
|
2020-03-27 14:32:06 +00:00
|
|
|
, pygments
|
2017-09-05 10:16:41 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "doc8";
|
|
|
|
version = "0.8.0";
|
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
|
|
|
sha256 = "2df89f9c1a5abfb98ab55d0175fed633cae0cf45025b8b1e0ee5ea772be28543";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ pbr ];
|
2020-03-27 14:32:06 +00:00
|
|
|
propagatedBuildInputs = [
|
|
|
|
docutils
|
|
|
|
six
|
|
|
|
chardet
|
|
|
|
stevedore
|
|
|
|
restructuredtext_lint
|
|
|
|
pygments
|
|
|
|
];
|
2017-09-05 10:16:41 +01:00
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Style checker for Sphinx (or other) RST documentation";
|
|
|
|
homepage = "https://launchpad.net/doc8";
|
|
|
|
license = lib.licenses.asl20;
|
|
|
|
};
|
|
|
|
}
|