Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09-beta 36 lines 748 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, pyyaml 5, prance 6, marshmallow 7, pytestCheckHook 8, mock 9, openapi-spec-validator 10}: 11 12buildPythonPackage rec { 13 pname = "apispec"; 14 version = "3.3.1"; 15 16 src = fetchPypi { 17 inherit pname version; 18 sha256 = "f5244ccca33f7a81309f6b3c9d458e33e869050c2d861b9f8cee24b3ad739d2b"; 19 }; 20 21 checkInputs = [ 22 pyyaml 23 prance 24 openapi-spec-validator 25 marshmallow 26 mock 27 pytestCheckHook 28 ]; 29 30 meta = with lib; { 31 description = "A pluggable API specification generator. Currently supports the OpenAPI Specification (f.k.a. the Swagger specification"; 32 homepage = "https://github.com/marshmallow-code/apispec"; 33 license = licenses.mit; 34 maintainers = [ maintainers.costrouc ]; 35 }; 36}