1{ lib 2, buildPythonPackage 3, fetchPypi 4, flake8 5, pydocstyle 6}: 7 8buildPythonPackage rec { 9 pname = "flake8-docstrings"; 10 version = "1.6.0"; 11 12 src = fetchPypi { 13 inherit pname version; 14 sha256 = "9fe7c6a306064af8e62a055c2f61e9eb1da55f84bb39caef2b84ce53708ac34b"; 15 }; 16 17 propagatedBuildInputs = [ flake8 pydocstyle ]; 18 19 pythonImportsCheck = [ "flake8_docstrings" ]; 20 21 meta = with lib; { 22 description = "Extension for flake8 which uses pydocstyle to check docstrings"; 23 homepage = "https://gitlab.com/pycqa/flake8-docstrings"; 24 license = licenses.mit; 25 maintainers = with maintainers; [ smaret ]; 26 }; 27}