1
0
Fork 0
mirror of https://github.com/NixOS/nixpkgs.git synced 2025-07-01 05:19:17 +03:00
nixpkgs/pkgs/development/python-modules/apispec/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

48 lines
853 B
Nix
Raw Normal View History

2019-07-18 19:01:06 -04:00
{ lib
, buildPythonPackage
, fetchPypi
, marshmallow
, mock
, openapi-spec-validator
, prance
, pytestCheckHook
, pythonOlder
, pyyaml
2019-07-18 19:01:06 -04:00
}:
buildPythonPackage rec {
pname = "apispec";
version = "6.0.2";
format = "setuptools";
disabled = pythonOlder "3.7";
2019-07-18 19:01:06 -04:00
src = fetchPypi {
inherit pname version;
hash = "sha256-522Atznt70viEwkqY4Stf9kzun1k9tWgr/jU2hvveIc=";
2019-07-18 19:01:06 -04:00
};
propagatedBuildInputs = [
2019-07-18 19:01:06 -04:00
pyyaml
prance
];
checkInputs = [
2019-07-18 19:01:06 -04:00
openapi-spec-validator
marshmallow
mock
pytestCheckHook
2019-07-18 19:01:06 -04:00
];
pythonImportsCheck = [
"apispec"
];
2019-07-18 19:01:06 -04:00
meta = with lib; {
description = "A pluggable API specification generator with support for the OpenAPI Specification";
homepage = "https://github.com/marshmallow-code/apispec";
2019-07-18 19:01:06 -04:00
license = licenses.mit;
maintainers = with maintainers; [ costrouc ];
2019-07-18 19:01:06 -04:00
};
}