nixpkgs/pkgs/development/python-modules/apispec/default.nix
Ariel 7af3a955c9 apache-airflow: 1.10.3 -> 1.10.5, enable python
Includes misc fixes suggested during the PR process.
2019-11-17 21:44:15 -05:00

37 lines
734 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, pyyaml
, prance
, marshmallow
, pytestCheckHook
, mock
, openapi-spec-validator
}:
buildPythonPackage rec {
pname = "apispec";
version = "3.1.0";
src = fetchPypi {
inherit pname version;
sha256 = "0rr32z9hbf8w4w1fs5gj2v0ixcq2vq7a3wssrlxagi5ii7ygap7y";
};
checkInputs = [
pyyaml
prance
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 ];
};
}