pythonPackages.apispec: init at 2.0.2
This commit is contained in:
parent
4cb6a88b38
commit
b9367e7a18
40
pkgs/development/python-modules/apispec/default.nix
Normal file
40
pkgs/development/python-modules/apispec/default.nix
Normal file
|
@ -0,0 +1,40 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, pyyaml
|
||||
, prance
|
||||
, marshmallow
|
||||
, pytest
|
||||
, mock
|
||||
, openapi-spec-validator
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "apispec";
|
||||
version = "2.0.2";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "11d1aaf620a80f67ded7688fcaf14fa4fd975d566876b5db69b067ffbfe4d1d9";
|
||||
};
|
||||
|
||||
checkInputs = [
|
||||
pyyaml
|
||||
prance
|
||||
openapi-spec-validator
|
||||
marshmallow
|
||||
pytest
|
||||
mock
|
||||
];
|
||||
|
||||
checkPhase = ''
|
||||
pytest
|
||||
'';
|
||||
|
||||
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 ];
|
||||
};
|
||||
}
|
|
@ -1440,6 +1440,8 @@ in {
|
|||
|
||||
apipkg = callPackage ../development/python-modules/apipkg {};
|
||||
|
||||
apispec = callPackage ../development/python-modules/apispec {};
|
||||
|
||||
appdirs = callPackage ../development/python-modules/appdirs { };
|
||||
|
||||
appleseed = disabledIf isPy3k
|
||||
|
|
Loading…
Reference in a new issue