python3Packages.flet: tweaking

Signed-off-by: lucasew <lucas59356@gmail.com>
This commit is contained in:
lucasew
2024-12-27 15:43:09 -03:00
parent 40df8af7db
commit 6cafa1c0ba
2 changed files with 7 additions and 16 deletions
@@ -5,34 +5,32 @@
# build-system
poetry-core,
pytestCheckHook,
# propagates
fastapi,
flet-core,
flet-runtime,
httpx,
oauthlib,
packaging,
qrcode,
repath,
cookiecutter,
uvicorn,
watchdog,
websocket-client,
websockets,
}:
buildPythonPackage rec {
pname = "flet";
inherit (flet-client-flutter) version src;
pyproject = true;
sourceRoot = "${src.name}/sdk/python/packages/flet";
nativeBuildInputs = [
poetry-core
];
build-system = [ poetry-core ];
nativeCheckInputs = [ pytestCheckHook ];
makeWrapperArgs = [
"--prefix"
@@ -49,10 +47,8 @@ buildPythonPackage rec {
"websockets"
];
propagatedBuildInputs = [
dependencies = [
fastapi
flet-core
flet-runtime
uvicorn
websocket-client
watchdog
@@ -60,14 +56,13 @@ buildPythonPackage rec {
websockets
httpx
packaging
repath
qrcode
cookiecutter
fastapi
uvicorn
];
doCheck = false;
pythonImportsCheck = [ "flet" ];
meta = {
-4
View File
@@ -4776,10 +4776,6 @@ self: super: with self; {
flet = callPackage ../development/python-modules/flet { };
flet-core = callPackage ../development/python-modules/flet-core { };
flet-runtime = callPackage ../development/python-modules/flet-runtime { };
flexcache = callPackage ../development/python-modules/flexcache { };
flexit-bacnet = callPackage ../development/python-modules/flexit-bacnet { };