{ lib , buildPythonPackage , fetchPypi , pythonOlder , pyyaml , prance , marshmallow , pytestCheckHook , mock , openapi-spec-validator }: buildPythonPackage rec { pname = "apispec"; version = "4.6.0"; disabled = pythonOlder "3.6"; src = fetchPypi { inherit pname version; sha256 = "a896f97394b7d046d46c65262e51e45241dd8d9d71eedebcdb2d7024b775eec4"; }; propagatedBuildInputs = [ pyyaml prance ]; checkInputs = [ openapi-spec-validator marshmallow mock pytestCheckHook ]; meta = with lib; { description = "A pluggable API specification generator. Currently supports the OpenAPI Specification (f.k.a. the Swagger specification"; homepage = "https://github.com/marshmallow-code/apispec"; license = licenses.mit; maintainers = [ maintainers.costrouc ]; }; }