python3Packages.quart-schema: init at 0.21.0

This commit is contained in:
Sigmanificient
2025-03-07 17:29:55 +01:00
parent 93ceb27fb8
commit 573098527b
2 changed files with 62 additions and 0 deletions

View File

@@ -0,0 +1,60 @@
{
lib,
buildPythonPackage,
fetchFromGitHub,
pdm-backend,
pyhumps,
quart,
msgspec,
attrs,
pytestCheckHook,
pytest-asyncio,
pydantic,
hypothesis,
}:
buildPythonPackage rec {
pname = "quart-schema";
version = "0.21.0";
pyproject = true;
src = fetchFromGitHub {
owner = "pgjones";
repo = "quart-schema";
tag = version;
hash = "sha256-FpjnhSTkjskCxT874ABrD3Zew4g4R977xaYvJhVTDxw=";
};
build-system = [ pdm-backend ];
dependencies = [
pyhumps
quart
msgspec
attrs
];
pythonImportsCheck = [
"quart"
"quart_schema"
];
nativeCheckInputs = [
pytestCheckHook
pytest-asyncio
pydantic
hypothesis
];
preCheck = ''
substituteInPlace pyproject.toml \
--replace-fail "--no-cov-on-fail" ""
'';
meta = {
description = "Create subcommand-based CLI programs with docopt";
homepage = "https://github.com/abingham/docopt-subcommands";
license = lib.licenses.mit;
maintainers = with lib.maintainers; [ sigmanificient ];
};
}

View File

@@ -14031,6 +14031,8 @@ self: super: with self; {
quart-cors = callPackage ../development/python-modules/quart-cors { };
quart-schema = callPackage ../development/python-modules/quart-schema { };
quaternion = callPackage ../development/python-modules/quaternion { };
qudida = callPackage ../development/python-modules/qudida { };