python3Packages.flet-web: init
Signed-off-by: lucasew <lucas59356@gmail.com>
This commit is contained in:
@@ -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
|
||||
];
|
||||
};
|
||||
}
|
||||
@@ -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 { };
|
||||
|
||||
Reference in New Issue
Block a user