python311Packages.apispec-webframeworks: init at 0.5.2
This commit is contained in:
parent
179d4eb049
commit
14d92d3bba
2 changed files with 52 additions and 0 deletions
|
@ -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 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -544,6 +544,8 @@ self: super: with self; {
|
||||||
|
|
||||||
apispec = callPackage ../development/python-modules/apispec { };
|
apispec = callPackage ../development/python-modules/apispec { };
|
||||||
|
|
||||||
|
apispec-webframeworks = callPackage ../development/python-modules/apispec-webframeworks { };
|
||||||
|
|
||||||
aplpy = callPackage ../development/python-modules/aplpy { };
|
aplpy = callPackage ../development/python-modules/aplpy { };
|
||||||
|
|
||||||
app-model = callPackage ../development/python-modules/app-model { };
|
app-model = callPackage ../development/python-modules/app-model { };
|
||||||
|
|
Loading…
Reference in a new issue