Merge pull request #278255 from Mic92/rbw

rbw: 1.8.3 -> 1.9.0

Closes https://github.com/NixOS/nixpkgs/pull/278214
This commit is contained in:
Mario Rodas 2024-01-02 18:26:54 -05:00 committed by GitHub
commit 42235dbf4b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -6,6 +6,7 @@
, pkg-config
, installShellFiles
, darwin
, bash
# rbw-fzf
, withFzf ? false
@ -24,22 +25,23 @@
rustPlatform.buildRustPackage rec {
pname = "rbw";
version = "1.8.3";
version = "1.9.0";
src = fetchzip {
url = "https://git.tozt.net/rbw/snapshot/rbw-${version}.tar.gz";
sha256 = "sha256-dC/x+ihH1POIFN/8pbk967wATXKU4YVBGI0QCo8d+SY=";
sha256 = "sha256-NjMH99rmJYbCxDdc7e0iOFoslSrIuwIBxuHxADp0Ks4=";
};
cargoHash = "sha256-nI1Pf7gREbAk+JVF3Gn2j8OqprexCQ5fVvECtq2aBPM=";
cargoHash = "sha256-AH35v61FgUQe9BwDgVnXwoVTSQduxeMbXWy4ga3WU3k=";
nativeBuildInputs = [
installShellFiles
] ++ lib.optionals stdenv.isLinux [ pkg-config ];
buildInputs = lib.optionals stdenv.isDarwin [
darwin.apple_sdk.frameworks.Security
darwin.apple_sdk.frameworks.AppKit
buildInputs = [ bash ] # for git-credential-rbw
++ lib.optionals stdenv.isDarwin [
darwin.apple_sdk_11_0.frameworks.Security
darwin.apple_sdk_11_0.frameworks.AppKit
];
preConfigure = lib.optionalString stdenv.isLinux ''