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";
|
2020-06-05 18:44:34 +01:00
|
|
|
version = "0.8.1";
|
2017-09-05 10:16:41 +01:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2020-06-05 18:44:34 +01:00
|
|
|
sha256 = "4d1df12598807cf08ffa9a1d5ef42d229ee0de42519da01b768ff27211082c12";
|
2017-09-05 10:16:41 +01:00
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|