mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Merge pull request #237201 from fabaff/apispec-webframeworks
python311Packages.apispec-webframeworks: init at 0.5.2
This commit is contained in:
commit
51ccd76a5c
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-webframeworks = callPackage ../development/python-modules/apispec-webframeworks { };
|
||||
|
||||
aplpy = callPackage ../development/python-modules/aplpy { };
|
||||
|
||||
app-model = callPackage ../development/python-modules/app-model { };
|
||||
|
|
Loading…
Reference in a new issue