Unverified Commit 8931ba93 authored by Tristan Ross's avatar Tristan Ross Committed by GitHub
Browse files

Drop old Flutter versions (#346732)

parents 1c96528b 24acfbe8
Loading
Loading
Loading
Loading
+4 −7
Original line number Diff line number Diff line
{ lib
, flutter322
, flutter324
, python3
, fetchFromGitHub
, pcre2
@@ -11,15 +11,15 @@
, removeReferencesTo
}:

flutter322.buildFlutterApplication rec {
flutter324.buildFlutterApplication rec {
  pname = "yubioath-flutter";
  version = "7.0.1";
  version = "7.1.0";

  src = fetchFromGitHub {
    owner = "Yubico";
    repo = "yubioath-flutter";
    rev = version;
    hash = "sha256-7FgZZCaafjNUaniPWVtba57zFABIJnLOw4GpyMsegKQ=";
    hash = "sha256-sAs/tglLt1igovtfs07+7G5/xeMcQgfR9G4b7VzyDVY=";
  };

  passthru.helper = python3.pkgs.callPackage ./helper.nix { inherit src version meta; };
@@ -34,9 +34,6 @@ flutter322.buildFlutterApplication rec {

    substituteInPlace linux/CMakeLists.txt \
      --replace-fail "../build/linux/helper" "${passthru.helper}/libexec/helper"

    substituteInPlace linux/my_application.cc \
      --replace-fail "gtk_widget_realize(GTK_WIDGET(window));" "gtk_widget_show(GTK_WIDGET(window));"
  '';

  preInstall = ''
+110 −94

File changed.

Preview size limit exceeded, changes collapsed.

+4 −4
Original line number Diff line number Diff line
@@ -4,7 +4,7 @@
, imagemagick
, mesa
, libdrm
, flutter319
, flutter324
, pulseaudio
, makeDesktopItem
, zenity
@@ -17,15 +17,15 @@ let
  libwebrtcRpath = lib.makeLibraryPath [ mesa libdrm ];
  pubspecLock = lib.importJSON ./pubspec.lock.json;
in
flutter319.buildFlutterApplication (rec {
flutter324.buildFlutterApplication (rec {
  pname = "fluffychat-${targetFlutterPlatform}";
  version = "1.20.0";
  version = "1.22.1";

  src = fetchFromGitHub {
    owner = "krille-chan";
    repo = "fluffychat";
    rev = "refs/tags/v${version}";
    hash = "sha256-eHwzvWKWJ9Q2OgCvgZTt+Bcph2w2pTqyOtwXFbZ4LEg=";
    hash = "sha256-biFoRcMss3JVrMoilc8BzJ+R6f+e4RYpZ5dbxDpnfTk=";
  };

  inherit pubspecLock;
+201 −211

File changed.

Preview size limit exceeded, changes collapsed.

+7 −7
Original line number Diff line number Diff line
@@ -3,7 +3,7 @@
  stdenv,
  fetchurl,
  fetchFromGitHub,
  flutter313,
  flutter324,
  makeDesktopItem,
  nixosTests,
  pkg-config,
@@ -16,14 +16,15 @@ let
  pname = "localsend";
  version = "1.15.4";

  linux = flutter313.buildFlutterApplication rec {
    inherit pname version;
  linux = flutter324.buildFlutterApplication rec {
    inherit pname;
    version = "1.15.4-unstable-2024-09-25";

    src = fetchFromGitHub {
      owner = pname;
      repo = pname;
      rev = "v${version}";
      hash = "sha256-kfqLYe15NIRH12+AastWkLBk4L0MKEV5XZ/klE+pK7g=";
      rev = "61f3ffdb8dd8b1116ced2e7b585f2f6662ce7d5f";
      hash = "sha256-s7cR5ty8bygOCzHbLwNTBNlhlQ+2y25/ijlNqWYrqVw=";
    };

    sourceRoot = "${src.name}/app";
@@ -31,8 +32,7 @@ let
    pubspecLock = lib.importJSON ./pubspec.lock.json;

    gitHashes = {
      "permission_handler_windows" = "sha256-a7bN7/A65xsvnQGXUvZCfKGtslbNWEwTWR8fAIjMwS0=";
      "tray_manager" = "sha256-eF14JGf5jclsKdXfCE7Rcvp72iuWd9wuSZ8Bej17tjg=";
      "permission_handler_windows" = "sha256-+TP3neqlQRZnW6BxHaXr2EbmdITIx1Yo7AEn5iwAhwM=";
    };

    nativeBuildInputs = [ pkg-config ];
Loading