Unverified Commit cdde3c9d authored by Peder Bergebakken Sundt's avatar Peder Bergebakken Sundt Committed by GitHub
Browse files

gopeed: 1.6.10 -> 1.6.11 (#390186)

parents a8d0526d e7bbbbb6
Loading
Loading
Loading
Loading
+12 −6
Original line number Diff line number Diff line
@@ -8,13 +8,13 @@
}:

let
  version = "1.6.10";
  version = "1.6.11";

  src = fetchFromGitHub {
    owner = "GopeedLab";
    repo = "gopeed";
    tag = "v${version}";
    hash = "sha256-sTKPSgy1jDavEd/IM8F6dxojp8oOQTo3/w/YV21JR/Q=";
    hash = "sha256-ayPqLRWYSa0rSHqGFS4xp3wUVAl4tfsSPs/SQcUQD60=";
  };

  metaCommon = {
@@ -45,14 +45,17 @@ let
  };
in
flutter324.buildFlutterApplication {
  inherit version src libgopeed;
  inherit version src;
  pname = "gopeed";

  sourceRoot = "${src.name}/ui/flutter";

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

  gitHashes.permission_handler_windows = "sha256-MRTmuH0MfhGaMEb9bRotimAPRlFyl3ovtJUJ2WK7+DA=";
  gitHashes = {
    install_plugin = "sha256-3FM08D2pbtWmitf8R4pAylVqum7IfbWh6pOIEhJdySk=";
    permission_handler_windows = "sha256-MRTmuH0MfhGaMEb9bRotimAPRlFyl3ovtJUJ2WK7+DA=";
  };

  nativeBuildInputs = [ autoPatchelfHook ];

@@ -61,7 +64,7 @@ flutter324.buildFlutterApplication {
  preBuild = ''
    mkdir -p linux/bundle/lib
    cp ${libgopeed}/lib/libgopeed.so linux/bundle/lib/libgopeed.so
    cp ${libgopeed}/bin/host assets/host/host
    cp ${libgopeed}/bin/host assets/exec/host
  '';

  postInstall = ''
@@ -75,7 +78,10 @@ flutter324.buildFlutterApplication {
      --add-rpath $out/app/gopeed/lib $out/app/gopeed/gopeed
  '';

  passthru.updateScript = ./update.sh;
  passthru = {
    inherit libgopeed;
    updateScript = ./update.sh;
  };

  meta = metaCommon // {
    mainProgram = "gopeed";
+12 −1
Original line number Diff line number Diff line
@@ -337,7 +337,7 @@
      "version": "0.3.4+2"
    },
    "crypto": {
      "dependency": "transitive",
      "dependency": "direct main",
      "description": {
        "name": "crypto",
        "sha256": "1e445881f28f22d6140f181e07737b22f1e099a5e1ff94b0af2f9e4a463f4855",
@@ -680,6 +680,17 @@
      "source": "hosted",
      "version": "4.3.0"
    },
    "install_plugin": {
      "dependency": "direct main",
      "description": {
        "path": ".",
        "ref": "cf08af829f4a4145634f8a047108f505fdbe5eaa",
        "resolved-ref": "cf08af829f4a4145634f8a047108f505fdbe5eaa",
        "url": "https://github.com/hui-z/flutter_install_plugin.git"
      },
      "source": "git",
      "version": "2.1.0"
    },
    "intl": {
      "dependency": "transitive",
      "description": {