From f6c47e501ae829de15efe74df87a8de7c73e752e Mon Sep 17 00:00:00 2001 From: Conrad Kramer Date: Wed, 20 Jul 2022 23:46:52 +0200 Subject: [PATCH] _1password-gui-beta: 8.8.0-165.BETA -> 8.8.0-215.BETA --- pkgs/applications/misc/1password-gui/beta.nix | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/pkgs/applications/misc/1password-gui/beta.nix b/pkgs/applications/misc/1password-gui/beta.nix index 871f07440e83..fa68f6e833f9 100644 --- a/pkgs/applications/misc/1password-gui/beta.nix +++ b/pkgs/applications/misc/1password-gui/beta.nix @@ -44,12 +44,19 @@ let in stdenv.mkDerivation rec { pname = "1password"; - version = "8.8.0-165.BETA"; + version = "8.8.0-215.BETA"; - src = fetchurl { - url = "https://downloads.1password.com/linux/tar/beta/x86_64/1password-${version}.x64.tar.gz"; - sha256 = "sha256-ZpKAkuIMeHEFdz/od/sKDh8VXoWOZYO8GjvMiho3D4A="; - }; + src = + if stdenv.hostPlatform.isAarch64 then + fetchurl { + url = "https://downloads.1password.com/linux/tar/beta/aarch64/1password-${version}.arm64.tar.gz"; + sha256 = "sha256-GjLwLeJ6GE39NFIZ+v83xaUVsgrkKRH3xt60aG/XrDg="; + } + else + fetchurl { + url = "https://downloads.1password.com/linux/tar/beta/x86_64/1password-${version}.x64.tar.gz"; + sha256 = "sha256-TR0evvu5NNR6Kvqj8JlpYuTcK9Rmf1oDFGrfzrGZzo8="; + }; nativeBuildInputs = [ makeWrapper ]; @@ -132,6 +139,6 @@ in stdenv.mkDerivation rec { sourceProvenance = with sourceTypes; [ binaryNativeCode ]; license = licenses.unfree; maintainers = with maintainers; [ timstott savannidgerinel maxeaubrey sebtm ]; - platforms = [ "x86_64-linux" ]; + platforms = [ "x86_64-linux" "aarch64-linux" ]; }; }