python3Packages.baize: init at 0.22.2

This commit is contained in:
wxt 2024-11-13 20:20:29 +08:00 committed by Gaetan Lepage
parent 535e437365
commit 67075b4269
2 changed files with 62 additions and 0 deletions

View File

@ -0,0 +1,60 @@
{
buildPythonPackage,
lib,
fetchPypi,
pytestCheckHook,
pdm-pep517,
pytest-httpx,
setuptools,
starlette,
anyio,
pytest-asyncio,
pytest-tornasync,
pytest-trio,
pytest-twisted,
twisted,
}:
buildPythonPackage rec {
pname = "baize";
version = "0.22.2";
pyproject = true;
src = fetchPypi {
inherit pname version;
hash = "sha256-J+l8NsSTpCh7Uws+Zp45LXkLEBBurqOsOr8Iik/9smY=";
};
build-system = [
pdm-pep517
setuptools
];
dependencies = [
starlette
];
nativeCheckInputs = [
pytestCheckHook
pytest-httpx
anyio
pytest-asyncio
pytest-tornasync
pytest-trio
pytest-twisted
twisted
];
disabledTests = [
# https://github.com/abersheeran/baize/issues/67
"test_files"
"test_request_response"
];
meta = {
description = "Powerful and exquisite WSGI/ASGI framework/toolkit";
maintainers = with lib.maintainers; [ bot-wxt1221 ];
homepage = "https://baize.aber.sh/";
license = lib.licenses.asl20;
};
}

View File

@ -1452,6 +1452,8 @@ self: super: with self; {
bagit = callPackage ../development/python-modules/bagit { };
baize = callPackage ../development/python-modules/baize { };
banal = callPackage ../development/python-modules/banal { };
bandcamp-api = callPackage ../development/python-modules/bandcamp-api { };