python311Packages.essentials-openapi: init at 1.0.9
This commit is contained in:
parent
352a41f7ce
commit
7782d26fb9
@ -0,0 +1,65 @@
|
||||
{
|
||||
buildPythonPackage,
|
||||
fetchFromGitHub,
|
||||
lib,
|
||||
click,
|
||||
essentials,
|
||||
flask,
|
||||
hatchling,
|
||||
httpx,
|
||||
jinja2,
|
||||
markupsafe,
|
||||
pydantic,
|
||||
pytestCheckHook,
|
||||
pythonImportsCheckHook,
|
||||
pyyaml,
|
||||
rich,
|
||||
setuptools
|
||||
}:
|
||||
buildPythonPackage rec {
|
||||
pname = "essentials-openapi";
|
||||
version = "1.0.7";
|
||||
pyproject = true;
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Neoteroi";
|
||||
repo = "essentials-openapi";
|
||||
rev = "v${version}";
|
||||
hash = "sha256-j0vEMNXZ9TrcFx8iIyTFQIwF49LEincLmnAt+qodYmA=";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [
|
||||
hatchling
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
flask
|
||||
httpx
|
||||
pydantic
|
||||
pytestCheckHook
|
||||
rich
|
||||
setuptools
|
||||
];
|
||||
|
||||
propagatedBuildInputs = [
|
||||
pyyaml
|
||||
essentials
|
||||
markupsafe
|
||||
];
|
||||
|
||||
passthru.optional-dependencies = {
|
||||
full = [ click jinja2 rich httpx ];
|
||||
};
|
||||
|
||||
pythonImportsCheck = [
|
||||
"openapidocs"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/Neoteroi/essentials-openapi";
|
||||
description = "Functions to handle OpenAPI Documentation";
|
||||
changelog = "https://github.com/Neoteroi/essentials-openapi/releases/v${version}";
|
||||
license = licenses.mit;
|
||||
maintainers = with maintainers; [aldoborrero zimbatm];
|
||||
};
|
||||
}
|
@ -3747,6 +3747,8 @@ self: super: with self; {
|
||||
|
||||
essentials = callPackage ../development/python-modules/essentials { };
|
||||
|
||||
essentials-openapi = callPackage ../development/python-modules/essentials-openapi { };
|
||||
|
||||
etcd = callPackage ../development/python-modules/etcd { };
|
||||
|
||||
etcd3 = callPackage ../development/python-modules/etcd3 {
|
||||
|
Loading…
Reference in New Issue
Block a user