diff options
Diffstat (limited to 'pkgs/development/python-modules/flake8-docstrings/default.nix')
-rw-r--r-- | pkgs/development/python-modules/flake8-docstrings/default.nix | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/pkgs/development/python-modules/flake8-docstrings/default.nix b/pkgs/development/python-modules/flake8-docstrings/default.nix new file mode 100644 index 0000000000000..a02d900a7f07e --- /dev/null +++ b/pkgs/development/python-modules/flake8-docstrings/default.nix @@ -0,0 +1,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 ]; + }; +} |