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