2023-05-24 13:37:59 +00:00
|
|
|
{ lib
|
|
|
|
, buildPythonPackage
|
|
|
|
, fetchPypi
|
2024-01-25 14:12:00 +00:00
|
|
|
, pythonRelaxDepsHook
|
2023-08-10 07:59:29 +00:00
|
|
|
|
|
|
|
# build-system
|
|
|
|
, poetry-core
|
|
|
|
|
|
|
|
# propagates
|
|
|
|
, flet-core
|
2024-01-02 11:29:13 +00:00
|
|
|
, flet-runtime
|
2023-08-10 07:59:29 +00:00
|
|
|
, httpx
|
|
|
|
, oauthlib
|
|
|
|
, packaging
|
2024-01-02 11:29:13 +00:00
|
|
|
, qrcode
|
2024-01-13 08:15:51 +00:00
|
|
|
, cookiecutter
|
2023-08-10 07:59:29 +00:00
|
|
|
, watchdog
|
|
|
|
, websocket-client
|
|
|
|
, websockets
|
|
|
|
|
2023-05-24 13:37:59 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
buildPythonPackage rec {
|
|
|
|
pname = "flet";
|
2024-02-29 20:09:43 +00:00
|
|
|
version = "0.20.2";
|
2024-01-25 14:12:00 +00:00
|
|
|
pyproject = true;
|
2023-05-24 13:37:59 +00:00
|
|
|
|
|
|
|
src = fetchPypi {
|
|
|
|
inherit pname version;
|
2024-02-29 20:09:43 +00:00
|
|
|
hash = "sha256-3LhQI/hjenTxG/1DZP/zn2zs00rT5BviDAQYb2vucBM=";
|
2023-05-24 13:37:59 +00:00
|
|
|
};
|
|
|
|
|
2023-08-10 07:59:29 +00:00
|
|
|
nativeBuildInputs = [
|
2023-05-24 13:37:59 +00:00
|
|
|
poetry-core
|
2024-01-25 14:12:00 +00:00
|
|
|
pythonRelaxDepsHook
|
|
|
|
];
|
|
|
|
|
|
|
|
pythonRelaxDeps = [
|
|
|
|
"websockets"
|
2023-05-24 13:37:59 +00:00
|
|
|
];
|
|
|
|
|
2023-08-10 07:59:29 +00:00
|
|
|
propagatedBuildInputs = [
|
2023-05-24 13:37:59 +00:00
|
|
|
flet-core
|
2024-01-02 11:29:13 +00:00
|
|
|
flet-runtime
|
2023-05-24 13:37:59 +00:00
|
|
|
websocket-client
|
|
|
|
watchdog
|
|
|
|
oauthlib
|
|
|
|
websockets
|
|
|
|
httpx
|
|
|
|
packaging
|
2024-01-02 11:29:13 +00:00
|
|
|
qrcode
|
2024-01-13 08:15:51 +00:00
|
|
|
cookiecutter
|
2023-05-24 13:37:59 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
doCheck = false;
|
|
|
|
|
|
|
|
pythonImportsCheck = [
|
|
|
|
"flet"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "A 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;
|
|
|
|
maintainers = [ lib.maintainers.heyimnova ];
|
|
|
|
mainProgram = "flet";
|
|
|
|
};
|
|
|
|
}
|