Unverified Commit dca927c0 authored by Sizhe Zhao's avatar Sizhe Zhao Committed by GitHub
Browse files

gitkraken: 11.6.0 -> 12.0.1 (#509534)

parents b8b61bfd c71bad54
Loading
Loading
Loading
Loading
+7 −7
Original line number Diff line number Diff line
@@ -56,24 +56,24 @@

let
  pname = "gitkraken";
  version = "11.6.0";
  version = "12.0.1";

  throwSystem = throw "Unsupported system: ${stdenv.hostPlatform.system}";

  srcs = {
    x86_64-linux = fetchzip {
      url = "https://api.gitkraken.dev/releases/production/linux/x64/${version}/gitkraken-amd64.tar.gz";
      hash = "sha256-MU/WB4RsNViEulvE6fB7S4QTjjMI/50enlyCIX+xar4=";
      hash = "sha256-Tn4j9zmH8hr5rKaPFgox/LopTvEWghnPGf4JiM8y86k=";
    };

    x86_64-darwin = fetchzip {
      url = "https://api.gitkraken.dev/releases/production/darwin/x64/${version}/GitKraken-v${version}.zip";
      hash = "sha256-Ty+eRZJ6bnBsrs1VtGem1+m9WDZZf/PgiOvFIazQF6I=";
      hash = "sha256-bKbqu94JPI4VOPcphkw/vAN/ihb5wc5qh/qaw7bweG0=";
    };

    aarch64-darwin = fetchzip {
      url = "https://api.gitkraken.dev/releases/production/darwin/arm64/${version}/GitKraken-v${version}.zip";
      hash = "sha256-mpJNhvKIBYt3Yd+RjxSgzRP6AfnfHPRbQ0dzd5kQQIQ=";
      hash = "sha256-h2RSdK75i1NbchGauDSvaYJyz39Bncgf+RQIfRdDQuE=";
    };
  };

@@ -207,9 +207,9 @@ let

      # SSL and permissions fix for bundled nodegit
      pushd $out/share/${pname}/resources/app.asar.unpacked/node_modules/@axosoft/nodegit/build/Release
      mv nodegit-ubuntu-20.node nodegit-ubuntu-20-ssl-1.1.1.node
      mv nodegit-ubuntu-20-ssl-static.node nodegit-ubuntu-20.node
      chmod 755 nodegit-ubuntu-20.node
      mv nodegit-x64-ubuntu-20.node nodegit-x64-ubuntu-20-ssl-1.1.1.node
      mv nodegit-x64-ubuntu-20-ssl-static.node nodegit-x64-ubuntu-20.node
      chmod 755 nodegit-x64-ubuntu-20.node
      popd

      # Devendor bundled git