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

insync: 3.9.4.60020 -> 3.9.6.60027 (#403664)

parents 073109fc 05be7003
Loading
Loading
Loading
Loading
+10 −8
Original line number Diff line number Diff line
@@ -13,24 +13,25 @@
  xkeyboard_config,
  libthai,
  libsForQt5,
  xz,
}:

let
  pname = "insync";
  # Find a binary from https://www.insynchq.com/downloads/linux
  version = "3.9.4.60020";
  web-archive-id = "20241208213703"; # upload via https://web.archive.org/save/
  ubuntu-dist = "trixie_amd64";
  version = "3.9.6.60027";
  web-archive-id = "20250502161201"; # upload via https://web.archive.org/save/
  debian-dist = "trixie_amd64";
  insync-pkg = stdenvNoCC.mkDerivation {
    pname = "${pname}-pkg";
    inherit version;

    src = fetchurl rec {
      urls = [
        "https://cdn.insynchq.com/builds/linux/${version}/insync_${version}-${ubuntu-dist}.deb"
        "https://cdn.insynchq.com/builds/linux/${version}/insync_${version}-${debian-dist}.deb"
        "https://web.archive.org/web/${web-archive-id}/${builtins.elemAt urls 0}"
      ];
      hash = "sha256-QauUzvtWQu8h41+wWIPhEZ3VVzXJwAh2bzj0gDYWnIw=";
      hash = "sha256-q1s4hFQTXjS9VmA6XETpsvEEES79b84y8zCZwpy3gKo=";
    };

    nativeBuildInputs = [
@@ -45,6 +46,7 @@ let
      lz4
      libgcrypt
      libthai
      xz
    ] ++ (with libsForQt5; [ qt5.qtvirtualkeyboard ]);

    installPhase = ''
@@ -100,11 +102,11 @@ buildFHSEnv {

  dieWithParent = true;

  meta = with lib; {
  meta = {
    platforms = [ "x86_64-linux" ];
    sourceProvenance = with lib.sourceTypes; [ binaryNativeCode ];
    license = licenses.unfree;
    maintainers = with maintainers; [ hellwolf ];
    license = lib.licenses.unfree;
    maintainers = with lib.maintainers; [ hellwolf ];
    homepage = "https://www.insynchq.com";
    description = "Google Drive sync and backup with multiple account support";
    longDescription = ''