Something went wrong. Try again.
What happens if I push all of nixpkgs
Something went wrong. Try again.
1.3 kB · 80 lines
Nix
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081{ lib, buildPythonPackage, flet-client-flutter,
# build-system poetry-core,
# propagates fastapi, flet-core, flet-runtime, httpx, oauthlib, packaging, qrcode, 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 ];
makeWrapperArgs = [ "--prefix" "PYTHONPATH" ":" "$PYTHONPATH" ];
pythonRelaxDeps = [ "cookiecutter" "packaging" "watchdog" "websockets" ];
propagatedBuildInputs = [ fastapi flet-core flet-runtime uvicorn websocket-client watchdog oauthlib websockets httpx packaging qrcode cookiecutter fastapi uvicorn ];
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; maintainers = with lib.maintainers; [ heyimnova lucasew ]; mainProgram = "flet"; };}