Merge pull request #316144 from Aleksanaa/flutter-apps

{yubioath-flutter, flet-client-flutter, fluffychat}: pin to flutter 3.19
This commit is contained in:
Maciej Krüger 2024-06-05 20:57:06 +02:00 committed by GitHub
commit b4bde132af
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 9 additions and 7 deletions

@ -98,10 +98,12 @@ The function `buildFlutterApplication` builds Flutter applications.
See the [Dart documentation](#ssec-dart-applications) for more details on required files and arguments.
`flutter` in Nixpkgs always points to `flutterPackages.stable`, which is the latest packaged version. To avoid unforeseen breakage during upgrade, packages in Nixpkgs should use a specific flutter version, such as `flutter319` and `flutter322`, instead of using `flutter` directly.
```nix
{ flutter, fetchFromGitHub }:
flutter.buildFlutterApplication {
flutter322.buildFlutterApplication {
pname = "firmware-updater";
version = "0-unstable-2023-04-30";

@ -1,5 +1,5 @@
{ lib
, flutter
, flutter319
, python3
, fetchFromGitHub
, pcre2
@ -11,7 +11,7 @@
, removeReferencesTo
}:
flutter.buildFlutterApplication rec {
flutter319.buildFlutterApplication rec {
pname = "yubioath-flutter";
version = "6.4.0";

@ -4,7 +4,7 @@
, imagemagick
, mesa
, libdrm
, flutter
, flutter319
, pulseaudio
, makeDesktopItem
, gnome
@ -16,7 +16,7 @@ let
libwebrtcRpath = lib.makeLibraryPath [ mesa libdrm ];
pubspecLock = lib.importJSON ./pubspec.lock.json;
in
flutter.buildFlutterApplication (rec {
flutter319.buildFlutterApplication (rec {
pname = "fluffychat-${targetFlutterPlatform}";
version = "1.20.0";

@ -1,7 +1,7 @@
{ lib
, fetchFromGitHub
, pkg-config
, flutter
, flutter319
, gst_all_1
, libunwind
, makeWrapper
@ -16,7 +16,7 @@
, flet-client-flutter
}:
flutter.buildFlutterApplication rec {
flutter319.buildFlutterApplication rec {
pname = "flet-client-flutter";
version = "0.22.1";