Skip to content

Commit

Permalink
litestar: build for all python version
Browse files Browse the repository at this point in the history
  • Loading branch information
Bot-wxt1221 committed Jan 20, 2025
1 parent 058bc95 commit 0c83e95
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
15 changes: 15 additions & 0 deletions pkgs/by-name/li/litestar/package.nix
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,21 @@ python3Packages.buildPythonApplication rec {
picologging
];

nativeCheckInputs = with python3Packages; [
pytestCheckHook
pytest-lazy-fixtures
pytest-xdist
pytest-mock
pytest-asyncio
pytest-timeout
pytest-rerunfailures
];

pytestFlagsArray = [
# Follow github CI
"docs/examples/"
];

meta = {
homepage = "https://litestar.dev/";
platforms = lib.platforms.unix;
Expand Down
4 changes: 4 additions & 0 deletions pkgs/top-level/python-packages.nix
Original file line number Diff line number Diff line change
Expand Up @@ -7544,6 +7544,10 @@ self: super: with self; {

litemapy = callPackage ../development/python-modules/litemapy { };

litestar = toPythonModule (pkgs.litestar.override {
python3Packages = pythonPackages;
});

litestar-htmx = callPackage ../development/python-modules/litestar-htmx { };

littleutils = callPackage ../development/python-modules/littleutils { };
Expand Down

0 comments on commit 0c83e95

Please sign in to comment.