2023-05-05 18:39:58 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
buildPythonPackage,
|
2024-01-10 19:56:13 +00:00
|
|
|
flet-client-flutter,
|
2023-07-28 14:07:00 +00:00
|
|
|
|
|
|
|
# build-system
|
|
|
|
poetry-core,
|
|
|
|
|
|
|
|
# propagates
|
2024-03-17 17:47:29 +00:00
|
|
|
fastapi,
|
2023-07-28 14:07:00 +00:00
|
|
|
flet-core,
|
2023-12-08 13:13:19 +00:00
|
|
|
flet-runtime,
|
2023-07-28 14:07:00 +00:00
|
|
|
httpx,
|
|
|
|
oauthlib,
|
|
|
|
packaging,
|
2023-12-08 13:13:19 +00:00
|
|
|
qrcode,
|
2024-01-03 11:15:26 +00:00
|
|
|
cookiecutter,
|
2024-03-17 17:47:29 +00:00
|
|
|
uvicorn,
|
2023-07-28 14:07:00 +00:00
|
|
|
watchdog,
|
|
|
|
websocket-client,
|
|
|
|
websockets,
|
|
|
|
|
2023-05-05 18:39:58 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "flet";
|
2024-01-10 19:56:13 +00:00
|
|
|
inherit (flet-client-flutter) version src;
|
|
|
|
|
2024-01-21 01:20:04 +00:00
|
|
|
pyproject = true;
|
2023-05-05 18:39:58 +00:00
|
|
|
|
2024-01-10 19:56:13 +00:00
|
|
|
sourceRoot = "${src.name}/sdk/python/packages/flet";
|
2023-05-05 18:39:58 +00:00
|
|
|
|
2023-07-28 14:07:00 +00:00
|
|
|
nativeBuildInputs = [
|
2023-05-05 18:39:58 +00:00
|
|
|
poetry-core
|
2024-01-21 01:20:04 +00:00
|
|
|
];
|
|
|
|
|
2024-06-19 01:54:16 +00:00
|
|
|
makeWrapperArgs = [
|
|
|
|
"--prefix" "PYTHONPATH" ":" "$PYTHONPATH"
|
|
|
|
];
|
|
|
|
|
2024-01-21 01:20:04 +00:00
|
|
|
pythonRelaxDeps = [
|
2024-03-14 00:34:23 +00:00
|
|
|
"cookiecutter"
|
2024-03-27 17:01:46 +00:00
|
|
|
"packaging"
|
2024-10-21 23:02:39 +00:00
|
|
|
"qrcode"
|
2024-03-14 00:34:23 +00:00
|
|
|
"watchdog"
|
2024-03-27 17:01:46 +00:00
|
|
|
"websockets"
|
2023-05-05 18:39:58 +00:00
|
|
|
];
|
|
|
|
|
2023-07-28 14:07:00 +00:00
|
|
|
propagatedBuildInputs = [
|
2024-03-17 17:47:29 +00:00
|
|
|
fastapi
|
2023-05-05 18:39:58 +00:00
|
|
|
flet-core
|
2023-12-08 13:13:19 +00:00
|
|
|
flet-runtime
|
2024-03-17 17:47:29 +00:00
|
|
|
uvicorn
|
2023-05-05 18:39:58 +00:00
|
|
|
websocket-client
|
|
|
|
watchdog
|
|
|
|
oauthlib
|
|
|
|
websockets
|
|
|
|
httpx
|
|
|
|
packaging
|
2023-12-08 13:13:19 +00:00
|
|
|
qrcode
|
2024-01-03 11:15:26 +00:00
|
|
|
cookiecutter
|
2024-03-14 00:34:23 +00:00
|
|
|
fastapi
|
|
|
|
uvicorn
|
2023-05-05 18:39:58 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [ "flet" ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "Framework that enables you to easily build realtime web, mobile, and desktop apps in Python";
|
|
|
|
homepage = "https://flet.dev/";
|
|
|
|
changelog = "https://github.com/flet-dev/flet/releases/tag/v${version}";
|
|
|
|
license = lib.licenses.asl20;
|
2024-01-17 19:09:27 +00:00
|
|
|
maintainers = with lib.maintainers; [
|
|
|
|
heyimnova
|
|
|
|
lucasew
|
|
|
|
];
|
2023-05-05 18:39:58 +00:00
|
|
|
mainProgram = "flet";
|
|
|
|
};
|
|
|
|
}
|