Unverified Commit 0e273473 authored by Maciej Krüger's avatar Maciej Krüger Committed by GitHub
Browse files

firmware-updater: unstable-2023-09-17 -> unstable-2024-18-04 (#308100)

parent 29535b5b
Loading
Loading
Loading
Loading
+9 −16
Original line number Diff line number Diff line
@@ -6,10 +6,16 @@

flutter.buildFlutterApplication rec {
  pname = "firmware-updater";
  version = "unstable-2023-09-17";
  version = "unstable-2024-18-04";

  pubspecLock = lib.importJSON ./pubspec.lock.json;

  patches = [
    ./upgrade-file.patch
  ];

  sourceRoot = "./source/packages/firmware_updater";

  gitHashes = {
    fwupd = "sha256-l/+HrrJk1mE2Mrau+NmoQ7bu9qhHU6wX68+m++9Hjd4=";
  };
@@ -17,22 +23,9 @@ flutter.buildFlutterApplication rec {
  src = fetchFromGitHub {
    owner = "canonical";
    repo = "firmware-updater";
    rev = "855999da8d3d0c9930e06f2d296d82b55aeff79e";
    hash = "sha256-tIeEuHl+sCKd756NYPmxXiV1Sg2m9W0eGUtM/Iskeu8=";
  };

  postPatch = ''
    rm -f pubspec.lock
    ln -s "${writeText "${pname}-overrides.yaml" (builtins.toJSON {
      dependency_overrides = {
        yaru = "^1.1.0";
        yaru_icons = "^2.2.1";
        yaru_widgets = "^3.1.0";
        mockito = "^5.4.2";
        test_api = "^0.6.1";
    rev = "e48bb3f693e5d76656a3e7bbc07be0fcbfa19f23";
    hash = "sha256-SO3sDIsJCK4Sh51pXO4u6WX4zcFa6jQYu9E+WtVrjDE=";
  };
    })}" pubspec_overrides.yaml
  '';

  meta = with lib; {
    description = "Firmware Updater for Linux";
+167 −257

File changed.

Preview size limit exceeded, changes collapsed.

+13 −0
Original line number Diff line number Diff line
diff --git a/pubspec.yaml b/pubspec.yaml
index e9dfa1f..ec9f2f2 100644
--- a/pubspec.yaml
+++ b/pubspec.yaml
@@ -10,7 +10,7 @@ dependencies:
   collection: ^1.17.2
   dbus: ^0.7.8
   dio: ^5.3.3
-  file: ^6.1.4
+  file: ^7.0.0
   flutter:
     sdk: flutter
   flutter_html: ^3.0.0-beta.2