about summary refs log tree commit diff
path: root/pkgs/development/python-modules/flake8-docstrings/default.nix
blob: a02d900a7f07e3efc28ddca1d20fda4e28489697 (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
{ lib
, buildPythonPackage
, fetchPypi
, flake8
, pydocstyle
}:

buildPythonPackage rec {
  pname = "flake8-docstrings";
  version = "1.6.0";

  src = fetchPypi {
    inherit pname version;
    sha256 = "9fe7c6a306064af8e62a055c2f61e9eb1da55f84bb39caef2b84ce53708ac34b";
  };

  propagatedBuildInputs = [ flake8 pydocstyle ];

  pythonImportsCheck = [ "flake8_docstrings" ];

  meta = with lib; {
    description = "Extension for flake8 which uses pydocstyle to check docstrings";
    homepage = "https://gitlab.com/pycqa/flake8-docstrings";
    license = licenses.mit;
    maintainers = with maintainers; [ smaret ];
  };
}