about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/python-modules/doc8/default.nix
blob: c2a7df098f4b0f8af7249da140e610eed169a1c4 (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
32
33
34
35
36
37
38
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;
  };
}