mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-22 06:53:01 +00:00
python3Packages.baize: init at 0.22.2
(cherry picked from commit 67075b4269
)
This commit is contained in:
parent
4aecc7f52b
commit
e6119586a0
60
pkgs/development/python-modules/baize/default.nix
Normal file
60
pkgs/development/python-modules/baize/default.nix
Normal 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;
|
||||
};
|
||||
}
|
@ -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 { };
|
||||
|
Loading…
Reference in New Issue
Block a user