Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.9 kB · 113 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114{ lib, buildPythonPackage, fetchFromGitHub,
# build-system hatchling,
# dependencies anyio, asyncpg, click, cryptography, fsspec, httpx, jinja2, litestar-htmx, mako, msgspec, multidict, picologging, polyfactory, psutil, psycopg, pyyaml, redis, rich, rich-click, time-machine, trio, typing-extensions,
# tests pytestCheckHook, pytest-lazy-fixtures, pytest-xdist, pytest-mock, pytest-asyncio, pytest-timeout, pytest-rerunfailures, versionCheckHook,}:
buildPythonPackage rec { pname = "litestar"; version = "2.13.0"; pyproject = true;
src = fetchFromGitHub { owner = "litestar-org"; repo = "litestar"; tag = "v${version}"; hash = "sha256-PR2DVNRtILHs7XwVi9/ZCVRJQFqfGLn1x2gpYtYjHDo="; };
build-system = [ hatchling ];
dependencies = [ anyio asyncpg click cryptography fsspec httpx jinja2 litestar-htmx mako msgspec multidict picologging polyfactory psutil psycopg pyyaml redis rich rich-click time-machine trio typing-extensions ];
nativeCheckInputs = [ pytestCheckHook pytest-lazy-fixtures pytest-xdist pytest-mock pytest-asyncio pytest-timeout pytest-rerunfailures versionCheckHook ]; versionCheckProgramArg = "version";
__darwinAllowLocalNetworking = true;
enabledTestPaths = [ # Follow github CI "docs/examples/" ];
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; mainProgram = "litestar"; };}