litestar: init at 2.12.1 (#355414)

authored by Aleksana and committed by GitHub c78d5b6f 1cc1fbee

+173
+55
pkgs/by-name/li/litestar/package.nix
··· 1 + { 2 + python3Packages, 3 + lib, 4 + fetchFromGitHub, 5 + }: 6 + 7 + python3Packages.buildPythonApplication rec { 8 + pname = "litestar"; 9 + version = "2.12.1"; 10 + pyproject = true; 11 + 12 + build-system = with python3Packages; [ 13 + hatchling 14 + ]; 15 + 16 + src = fetchFromGitHub { 17 + owner = "litestar-org"; 18 + repo = "litestar"; 19 + rev = "refs/tags/v${version}"; 20 + hash = "sha256-bWo+hhSij0H9XGxpqg1/h7O8U8jjTmlaIHfCU5I4RSI="; 21 + }; 22 + 23 + dependencies = with python3Packages; [ 24 + anyio 25 + click 26 + redis 27 + httpx 28 + msgspec 29 + multidict 30 + jinja2 31 + pyyaml 32 + rich 33 + rich-click 34 + typing-extensions 35 + psutil 36 + polyfactory 37 + trio 38 + cryptography 39 + psycopg 40 + fsspec 41 + mako 42 + time-machine 43 + asyncpg 44 + picologging 45 + ]; 46 + 47 + meta = { 48 + homepage = "https://litestar.dev/"; 49 + platforms = lib.platforms.unix; 50 + maintainers = with lib.maintainers; [ bot-wxt1221 ]; 51 + changelog = "https://github.com/litestar-org/litestar/releases/tag/v${version}"; 52 + description = "Production-ready, Light, Flexible and Extensible ASGI API framework"; 53 + license = lib.licenses.mit; 54 + }; 55 + }
+56
pkgs/development/python-modules/picologging/default.nix
··· 1 + { 2 + buildPythonPackage, 3 + lib, 4 + fetchFromGitHub, 5 + pytestCheckHook, 6 + setuptools, 7 + scikit-build, 8 + cmake, 9 + ninja, 10 + python, 11 + flaky, 12 + hypothesis, 13 + }: 14 + 15 + buildPythonPackage rec { 16 + pname = "picologging"; 17 + version = "0.9.4"; 18 + pyproject = true; 19 + 20 + src = fetchFromGitHub { 21 + # 0.9.4 only release on github 22 + owner = "microsoft"; 23 + repo = "picologging"; 24 + rev = "refs/tags/${version}"; 25 + hash = "sha256-t75D7aNKAifzeCPwtyKp8LoiXtbbXspRFYnsI0gx+V4="; 26 + }; 27 + 28 + build-system = [ 29 + setuptools 30 + cmake 31 + scikit-build 32 + ninja 33 + ]; 34 + 35 + nativeCheckInputs = [ 36 + pytestCheckHook 37 + ]; 38 + 39 + dontUseCmakeConfigure = true; 40 + 41 + dependencies = [ 42 + flaky 43 + hypothesis 44 + ]; 45 + 46 + pythonImportCheck = [ "picologging" ]; 47 + 48 + meta = { 49 + homepage = "https://github.com/microsoft/picologging"; 50 + platforms = lib.platforms.unix; 51 + maintainers = with lib.maintainers; [ bot-wxt1221 ]; 52 + changelog = "https://github.com/microsoft/picologging/releases/tag/${version}"; 53 + description = "optimized logging library for Python"; 54 + license = lib.licenses.mit; 55 + }; 56 + }
+58
pkgs/development/python-modules/polyfactory/default.nix
··· 1 + { 2 + buildPythonPackage, 3 + lib, 4 + fetchPypi, 5 + hatchling, 6 + hypothesis, 7 + faker, 8 + msgspec, 9 + sqlalchemy, 10 + aiosqlite, 11 + typing-extensions, 12 + pymongo, 13 + pytest-asyncio, 14 + pydantic, 15 + pytestCheckHook, 16 + email-validator, 17 + }: 18 + 19 + buildPythonPackage rec { 20 + pname = "polyfactory"; 21 + version = "2.18.0"; 22 + pyproject = true; 23 + 24 + src = fetchPypi { 25 + inherit version pname; 26 + hash = "sha256-BNi01JhuQGzUwWzAHou3Rwg4QtV6XA26Y6Ie5e91umY="; 27 + }; 28 + 29 + build-system = [ hatchling ]; 30 + 31 + dependencies = [ 32 + faker 33 + typing-extensions 34 + hypothesis 35 + pydantic 36 + sqlalchemy 37 + msgspec 38 + pymongo 39 + aiosqlite 40 + email-validator 41 + ]; 42 + 43 + nativeCheckInputs = [ 44 + pytestCheckHook 45 + pytest-asyncio 46 + ]; 47 + 48 + pythonImporeCheck = [ "polyfactory" ]; 49 + 50 + meta = { 51 + homepage = "https://polyfactory.litestar.dev/"; 52 + platforms = lib.platforms.unix; 53 + maintainers = with lib.maintainers; [ bot-wxt1221 ]; 54 + changelog = "https://github.com/litestar-org/polyfactory/releases/tag/v${version}"; 55 + description = "Simple and powerful factories for mock data generation"; 56 + license = lib.licenses.mit; 57 + }; 58 + }
+4
pkgs/top-level/python-packages.nix
··· 10172 10172 10173 10173 picobox = callPackage ../development/python-modules/picobox { }; 10174 10174 10175 + picologging = callPackage ../development/python-modules/picologging { }; 10176 + 10175 10177 picos = callPackage ../development/python-modules/picos { }; 10176 10178 10177 10179 picosvg = callPackage ../development/python-modules/picosvg { }; ··· 10736 10738 policyuniverse = callPackage ../development/python-modules/policyuniverse { }; 10737 10739 10738 10740 polyline = callPackage ../development/python-modules/polyline { }; 10741 + 10742 + polyfactory = callPackage ../development/python-modules/polyfactory { }; 10739 10743 10740 10744 polygon3 = callPackage ../development/python-modules/polygon3 { }; 10741 10745