nixpkgs/pkgs/development/python-modules/apispec/default.nix

37 lines
748 B
Nix
Raw Normal View History

2019-07-19 00:01:06 +01:00
{ lib
, buildPythonPackage
, fetchPypi
, pyyaml
, prance
, marshmallow
, pytestCheckHook
2019-07-19 00:01:06 +01:00
, mock
, openapi-spec-validator
}:
buildPythonPackage rec {
pname = "apispec";
2020-06-06 07:46:57 +01:00
version = "3.3.0";
2019-07-19 00:01:06 +01:00
src = fetchPypi {
inherit pname version;
2020-06-06 07:46:57 +01:00
sha256 = "419d0564b899e182c2af50483ea074db8cb05fee60838be58bb4542095d5c08d";
2019-07-19 00:01:06 +01:00
};
checkInputs = [
pyyaml
prance
openapi-spec-validator
marshmallow
mock
pytestCheckHook
2019-07-19 00:01:06 +01:00
];
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";
2019-07-19 00:01:06 +01:00
license = licenses.mit;
maintainers = [ maintainers.costrouc ];
};
}