Merge pull request #307098 from r-ryantm/auto-update/cilium-cli
[NixPkgs.git] / pkgs / development / python-modules / flet / default.nix
blob3e9a7d1f7bf0ef95e7e56e5899d9a6359e72c0f9
1 { lib
2 , buildPythonPackage
3 , flet-client-flutter
4 , pythonRelaxDepsHook
6 # build-system
7 , poetry-core
9 # propagates
10 , fastapi
11 , flet-core
12 , flet-runtime
13 , httpx
14 , oauthlib
15 , packaging
16 , qrcode
17 , cookiecutter
18 , uvicorn
19 , watchdog
20 , websocket-client
21 , websockets
25 buildPythonPackage rec {
26   pname = "flet";
27   inherit (flet-client-flutter) version src;
29   pyproject = true;
31   sourceRoot = "${src.name}/sdk/python/packages/flet";
33   nativeBuildInputs = [
34     poetry-core
35     pythonRelaxDepsHook
36   ];
38   pythonRelaxDeps = [
39     "cookiecutter"
40     "packaging"
41     "watchdog"
42     "websockets"
43   ];
45   propagatedBuildInputs = [
46     fastapi
47     flet-core
48     flet-runtime
49     uvicorn
50     websocket-client
51     watchdog
52     oauthlib
53     websockets
54     httpx
55     packaging
56     qrcode
57     cookiecutter
58     fastapi
59     uvicorn
60   ];
62   doCheck = false;
64   pythonImportsCheck = [
65     "flet"
66   ];
68   meta = {
69     description = "A framework that enables you to easily build realtime web, mobile, and desktop apps in Python";
70     homepage = "https://flet.dev/";
71     changelog = "https://github.com/flet-dev/flet/releases/tag/v${version}";
72     license = lib.licenses.asl20;
73     maintainers = with lib.maintainers; [ heyimnova lucasew ];
74     mainProgram = "flet";
75   };