diff options
Diffstat (limited to 'nixpkgs/pkgs/development/python-modules/doc8/default.nix')
-rw-r--r-- | nixpkgs/pkgs/development/python-modules/doc8/default.nix | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/python-modules/doc8/default.nix b/nixpkgs/pkgs/development/python-modules/doc8/default.nix new file mode 100644 index 000000000000..c2a7df098f4b --- /dev/null +++ b/nixpkgs/pkgs/development/python-modules/doc8/default.nix @@ -0,0 +1,39 @@ +{ lib +, buildPythonPackage +, fetchPypi +, pbr +, docutils +, six +, chardet +, stevedore +, restructuredtext_lint +, pygments +}: + +buildPythonPackage rec { + pname = "doc8"; + version = "0.8.1"; + + src = fetchPypi { + inherit pname version; + sha256 = "4d1df12598807cf08ffa9a1d5ef42d229ee0de42519da01b768ff27211082c12"; + }; + + buildInputs = [ pbr ]; + propagatedBuildInputs = [ + docutils + six + chardet + stevedore + restructuredtext_lint + pygments + ]; + + doCheck = false; + + meta = { + description = "Style checker for Sphinx (or other) RST documentation"; + homepage = "https://launchpad.net/doc8"; + license = lib.licenses.asl20; + }; +} |