Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ lib 2, python3 3, buildPythonPackage 4, fetchPypi 5}: 6 7buildPythonPackage rec { 8 pname = "flet"; 9 version = "0.6.2"; 10 format = "pyproject"; 11 12 src = fetchPypi { 13 inherit pname version; 14 hash = "sha256-EDNATwO2N4jXVC5H1VmXqC9XGTnQo8vLvTEozRYZuj4="; 15 }; 16 17 patches = [ 18 ./pyproject.toml.patch 19 ]; 20 21 nativeBuildInputs = with python3.pkgs; [ 22 poetry-core 23 ]; 24 25 propagatedBuildInputs = with python3.pkgs; [ 26 flet-core 27 typing-extensions 28 websocket-client 29 watchdog 30 oauthlib 31 websockets 32 httpx 33 packaging 34 ]; 35 36 doCheck = false; 37 38 pythonImportsCheck = [ 39 "flet" 40 ]; 41 42 meta = { 43 description = "A framework that enables you to easily build realtime web, mobile, and desktop apps in Python"; 44 homepage = "https://flet.dev/"; 45 changelog = "https://github.com/flet-dev/flet/releases/tag/v${version}"; 46 license = lib.licenses.asl20; 47 maintainers = [ lib.maintainers.heyimnova ]; 48 mainProgram = "flet"; 49 }; 50}