diff --git a/pkgs/development/python-modules/litestar-htmx/default.nix b/pkgs/development/python-modules/litestar-htmx/default.nix new file mode 100644 index 000000000000..2eec220ce2c9 --- /dev/null +++ b/pkgs/development/python-modules/litestar-htmx/default.nix @@ -0,0 +1,32 @@ +{ + buildPythonPackage, + lib, + fetchPypi, + hatchling, + pytestCheckHook, +}: + +buildPythonPackage rec { + pname = "litestar-htmx"; + version = "0.4.1"; + + src = fetchPypi { + pname = "litestar_htmx"; + inherit version; + hash = "sha256-uiU3AI64zBi/yL7lzssoCSTHgYuxwGbXnq5LIhaWygg="; + }; + + pyproject = true; + + build-system = [ + hatchling + ]; + + meta = { + homepage = "https://docs.litestar.dev/latest/usage/htmx.html"; + maintainers = with lib.maintainers; [ bot-wxt1221 ]; + license = lib.licenses.asl20; + platforms = lib.platforms.unix; + description = "HTMX Integration for Litesstar"; + }; +} diff --git a/pkgs/top-level/python-packages.nix b/pkgs/top-level/python-packages.nix index f15d0ec2bb3e..472da6127bb5 100644 --- a/pkgs/top-level/python-packages.nix +++ b/pkgs/top-level/python-packages.nix @@ -7517,6 +7517,8 @@ self: super: with self; { litemapy = callPackage ../development/python-modules/litemapy { }; + litestar-htmx = callPackage ../development/python-modules/litestar-htmx { }; + littleutils = callPackage ../development/python-modules/littleutils { }; livelossplot = callPackage ../development/python-modules/livelossplot { };