From ec058a1565c55ffa338e1b9bbc853389b3827c9f Mon Sep 17 00:00:00 2001 From: wxt <3264117476@qq.com> Date: Wed, 25 Dec 2024 21:12:05 +0800 Subject: [PATCH] python312Packages.litestar-htmx: init at 0.4.1 --- .../python-modules/litestar-htmx/default.nix | 32 +++++++++++++++++++ pkgs/top-level/python-packages.nix | 2 ++ 2 files changed, 34 insertions(+) create mode 100644 pkgs/development/python-modules/litestar-htmx/default.nix 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 { };