15 , _experimental-update-script-combinators
17 , fletTarget ? "linux"
20 flutter324.buildFlutterApplication rec {
21 pname = "flet-client-flutter";
24 src = fetchFromGitHub {
28 hash = "sha256-bD44MCRZPXB/xuw2vBCzNbRNSVgdc4GyyWg3F2adxKk=";
31 sourceRoot = "${src.name}/client";
34 "-DMIMALLOC_LIB=${mimalloc}/lib/mimalloc.o"
37 targetFlutterPlatform = fletTarget;
39 pubspecLock = lib.importJSON ./pubspec.lock.json;
50 gst_all_1.gst-plugins-base
57 ++ mpv-unwrapped.buildInputs
58 ++ libplacebo.buildInputs
62 pubspecSource = runCommand "pubspec.lock.json" {
64 inherit (flet-client-flutter) src;
66 cat $src/client/pubspec.lock | yq > $out
69 updateScript = _experimental-update-script-combinators.sequence [
70 (gitUpdater { rev-prefix = "v"; })
71 (_experimental-update-script-combinators.copyAttrOutputToFile "flet-client-flutter.pubspecSource" ./pubspec.lock.json)
76 description = "Framework that enables you to easily build realtime web, mobile, and desktop apps in Python. The frontend part";
77 homepage = "https://flet.dev/";
78 changelog = "https://github.com/flet-dev/flet/releases/tag/v${version}";
79 license = lib.licenses.asl20;
80 maintainers = with lib.maintainers; [ heyimnova lucasew ];