about summary refs log tree commit diff
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2023-10-26 19:54:09 -0500
committerGitHub <noreply@github.com>2023-10-26 19:54:09 -0500
commit1efdec8f2cdd2bf234b1391b5dde8eef0bfdff54 (patch)
treee733b7e84a6b3d02a6c372466016b5dd805b91a4
parent87c36c1b4939d334ba5cbb25e4f473e87177cb4a (diff)
parenteb78255681ac00a3b871f4db0f7330173db6481e (diff)
downloadnixlib-1efdec8f2cdd2bf234b1391b5dde8eef0bfdff54.tar
nixlib-1efdec8f2cdd2bf234b1391b5dde8eef0bfdff54.tar.gz
nixlib-1efdec8f2cdd2bf234b1391b5dde8eef0bfdff54.tar.bz2
nixlib-1efdec8f2cdd2bf234b1391b5dde8eef0bfdff54.tar.lz
nixlib-1efdec8f2cdd2bf234b1391b5dde8eef0bfdff54.tar.xz
nixlib-1efdec8f2cdd2bf234b1391b5dde8eef0bfdff54.tar.zst
nixlib-1efdec8f2cdd2bf234b1391b5dde8eef0bfdff54.zip
Merge pull request #263286 from marsam/update-1password
_1password: 2.21.0 -> 2.22.0
-rw-r--r--pkgs/applications/misc/1password/default.nix14
1 files changed, 7 insertions, 7 deletions
diff --git a/pkgs/applications/misc/1password/default.nix b/pkgs/applications/misc/1password/default.nix
index a4f0b957c991..89ff023f86fe 100644
--- a/pkgs/applications/misc/1password/default.nix
+++ b/pkgs/applications/misc/1password/default.nix
@@ -2,22 +2,22 @@
 
 let
   inherit (stdenv.hostPlatform) system;
-  fetch = srcPlatform: sha256: extension:
+  fetch = srcPlatform: hash: extension:
     let
       args = {
         url = "https://cache.agilebits.com/dist/1P/op2/pkg/v${version}/op_${srcPlatform}_v${version}.${extension}";
-        inherit sha256;
+        inherit hash;
       } // lib.optionalAttrs (extension == "zip") { stripRoot = false; };
     in
     if extension == "zip" then fetchzip args else fetchurl args;
 
   pname = "1password-cli";
-  version = "2.21.0";
+  version = "2.22.0";
   sources = rec {
-    aarch64-linux = fetch "linux_arm64" "sha256-pXGBlduNOvxpPMd/BObHVXXGQ0ZTlIkqZ3jYyoGXnqA=" "zip";
-    i686-linux = fetch "linux_386" "sha256-iePA4nzwBtAlYWybmQdV7Zvvnv+jPqrndB4aabf/JMM=" "zip";
-    x86_64-linux = fetch "linux_amd64" "sha256-wevv0KYe01ZL70zL4BNti/oCcAzNJ3EO97QIU1BYQRE=" "zip";
-    aarch64-darwin = fetch "apple_universal" "sha256-AViR53q1/jZtzpFZ7FaBwoZAGuXsGHfULEIuIrTqgSs=" "pkg";
+    aarch64-linux = fetch "linux_arm64" "sha256-MWNbwCJ5ltAV1qmy8LPYkb6VTH0UVi2S5QEZZfpcnGM=" "zip";
+    i686-linux = fetch "linux_386" "sha256-lqwEm7fCiM2WNZvlAt/HeqI2zxnal/OMbTMGvvmXkvY=" "zip";
+    x86_64-linux = fetch "linux_amd64" "sha256-GfQ441a5mIgCTtxnk6L9UXodNGXek7f/jxJXWYJUb+0=" "zip";
+    aarch64-darwin = fetch "apple_universal" "sha256-yF0dy4MUgvSJUremXFfxCIHcGmYrCcjofcv1sBD9qyI=" "pkg";
     x86_64-darwin = aarch64-darwin;
   };
   platforms = builtins.attrNames sources;