litestar: init at 2.12.1

This commit is contained in:
wxt 2024-11-12 19:30:52 +08:00
parent e0b119b80f
commit c9fa166a59
No known key found for this signature in database
GPG Key ID: F62181757D8BF693

View File

@ -0,0 +1,55 @@
{
python3Packages,
lib,
fetchFromGitHub,
}:
python3Packages.buildPythonApplication rec {
pname = "litestar";
version = "2.12.1";
pyproject = true;
build-system = with python3Packages; [
hatchling
];
src = fetchFromGitHub {
owner = "litestar-org";
repo = "litestar";
rev = "refs/tags/v${version}";
hash = "sha256-bWo+hhSij0H9XGxpqg1/h7O8U8jjTmlaIHfCU5I4RSI=";
};
dependencies = with python3Packages; [
anyio
click
redis
httpx
msgspec
multidict
jinja2
pyyaml
rich
rich-click
typing-extensions
psutil
polyfactory
trio
cryptography
psycopg
fsspec
mako
time-machine
asyncpg
picologging
];
meta = {
homepage = "https://litestar.dev/";
platforms = lib.platforms.unix;
maintainers = with lib.maintainers; [ bot-wxt1221 ];
changelog = "https://github.com/litestar-org/litestar/releases/tag/v${version}";
description = "Production-ready, Light, Flexible and Extensible ASGI API framework";
license = lib.licenses.mit;
};
}