Merge pull request #237201 from fabaff/apispec-webframeworks

python311Packages.apispec-webframeworks: init at 0.5.2
This commit is contained in:
Fabian Affolter 2023-06-14 09:03:55 +02:00 committed by GitHub
commit 51ccd76a5c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 52 additions and 0 deletions

View file

@ -0,0 +1,50 @@
{ lib
, apispec
, bottle
, buildPythonPackage
, fetchFromGitHub
, flask
, mock
, pytestCheckHook
, pythonOlder
, tornado
}:
buildPythonPackage rec {
pname = "apispec-webframeworks";
version = "0.5.2";
format = "setuptools";
disabled = pythonOlder "3.7";
src = fetchFromGitHub {
owner = "marshmallow-code";
repo = "apispec-webframeworks";
rev = version;
hash = "sha256-ByNmmBLO99njw9JrT+cCW/K4NJBH92smAiIgg47Cvkk=";
};
propagatedBuildInputs = [
apispec
] ++ apispec.optional-dependencies.yaml;
nativeCheckInputs = [
bottle
flask
mock
pytestCheckHook
tornado
];
pythonImportsCheck = [
"apispec_webframeworks"
];
meta = with lib; {
description = "Web framework plugins for apispec";
homepage = "https://github.com/marshmallow-code/apispec-webframeworks";
changelog = "https://github.com/marshmallow-code/apispec-webframeworks/blob/${version}/CHANGELOG.rst";
license = licenses.mit;
maintainers = with maintainers; [ fab ];
};
}

View file

@ -544,6 +544,8 @@ self: super: with self; {
apispec = callPackage ../development/python-modules/apispec { };
apispec-webframeworks = callPackage ../development/python-modules/apispec-webframeworks { };
aplpy = callPackage ../development/python-modules/aplpy { };
app-model = callPackage ../development/python-modules/app-model { };