about summary refs log tree commit diff
path: root/pkgs/tools/security/rbw/default.nix
diff options
context:
space:
mode:
authorMario Rodas <marsam@users.noreply.github.com>2023-07-18 04:20:00 +0000
committerMario Rodas <marsam@users.noreply.github.com>2023-07-18 04:20:00 +0000
commitc75eb7033642e836e4801966a17b068a577c8129 (patch)
tree963bb733d2655cfb2e6f68b7665159221051ad90 /pkgs/tools/security/rbw/default.nix
parent5b86eecfabf1fdb96aedbaee40e51c6490050931 (diff)
rbw: 1.7.1 -> 1.8.1
Changelog: https://git.tozt.net/rbw/plain/CHANGELOG.md?id=1.8.1
Diffstat (limited to 'pkgs/tools/security/rbw/default.nix')
-rw-r--r--pkgs/tools/security/rbw/default.nix13
1 files changed, 8 insertions, 5 deletions
diff --git a/pkgs/tools/security/rbw/default.nix b/pkgs/tools/security/rbw/default.nix
index 21952a3cdae79..0bd208c2af0b6 100644
--- a/pkgs/tools/security/rbw/default.nix
+++ b/pkgs/tools/security/rbw/default.nix
@@ -5,7 +5,7 @@
 , openssl
 , pkg-config
 , installShellFiles
-, Security
+, darwin
 
   # rbw-fzf
 , withFzf ? false
@@ -24,20 +24,23 @@
 
 rustPlatform.buildRustPackage rec {
   pname = "rbw";
-  version = "1.7.1";
+  version = "1.8.1";
 
   src = fetchzip {
     url = "https://git.tozt.net/rbw/snapshot/rbw-${version}.tar.gz";
-    sha256 = "sha256-xE3T3iVXFaaTF90ehQiG6+dLXcsqrHeprSMUnlSsxkE=";
+    sha256 = "sha256-cRfCsuhVlTRSgndf4rZrfLG/+NgI4VshVwbQydJt2cE=";
   };
 
-  cargoHash = "sha256-eaG56FGz4smlqDPi/CJ0KB7NMEgp684X19PVWxGQutw=";
+  cargoHash = "sha256-CFhBSRqWAJJJkeMNnLwp6/pLhIZHFvdlPn7pjfJFBWw=";
 
   nativeBuildInputs = [
     installShellFiles
   ] ++ lib.optionals stdenv.isLinux [ pkg-config ];
 
-  buildInputs = lib.optionals stdenv.isDarwin [ Security ];
+  buildInputs = lib.optionals stdenv.isDarwin [
+    darwin.apple_sdk.frameworks.Security
+    darwin.apple_sdk.frameworks.AppKit
+  ];
 
   preConfigure = lib.optionalString stdenv.isLinux ''
     export OPENSSL_INCLUDE_DIR="${openssl.dev}/include"