python3Packages.flet-web: init

Signed-off-by: lucasew <lucas59356@gmail.com>
This commit is contained in:
lucasew
2024-12-27 16:54:11 -03:00
parent e52080a8b9
commit 036dc86908
3 changed files with 41 additions and 0 deletions
@@ -8,6 +8,7 @@
flet,
flet-desktop,
flet-web,
qrcode,
toml,
watchdog,
@@ -25,6 +26,7 @@ buildPythonPackage rec {
dependencies = [
flet
flet-desktop
flet-web
qrcode
toml
watchdog
@@ -0,0 +1,37 @@
{
lib,
buildPythonPackage,
flet-client-flutter,
# build-system
poetry-core,
flet,
fastapi,
uvicorn,
}:
buildPythonPackage rec {
pname = "flet-web";
inherit (flet-client-flutter) version src;
pyproject = true;
sourceRoot = "${src.name}/sdk/python/packages/flet-web";
build-system = [ poetry-core ];
dependencies = [ flet fastapi uvicorn ];
pythonImportsCheck = [ "flet_web" ];
meta = {
description = "Flet web client in Flutter.";
homepage = "https://flet.dev/";
changelog = "https://github.com/flet-dev/flet/releases/tag/v${version}";
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [
heyimnova
lucasew
];
};
}
+2
View File
@@ -4780,6 +4780,8 @@ self: super: with self; {
flet-desktop = callPackage ../development/python-modules/flet-desktop { };
flet-web = callPackage ../development/python-modules/flet-web { };
flexcache = callPackage ../development/python-modules/flexcache { };
flexit-bacnet = callPackage ../development/python-modules/flexit-bacnet { };