summary refs log tree commit diff
path: root/pkgs/development/python-modules/doc8/default.nix
blob: 307496cc65ce22c4273812ebdae7fe31829e6165 (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
, pbr
, docutils
, six
, chardet
, stevedore
, restructuredtext_lint
}:

buildPythonPackage rec {
  pname = "doc8";
  version = "0.8.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "2df89f9c1a5abfb98ab55d0175fed633cae0cf45025b8b1e0ee5ea772be28543";
  };

  buildInputs = [ pbr ];
  propagatedBuildInputs = [ docutils six chardet stevedore restructuredtext_lint ];

  doCheck = false;

  meta = {
    description = "Style checker for Sphinx (or other) RST documentation";
    homepage = "https://launchpad.net/doc8";
    license = lib.licenses.asl20;
  };
}