rbw: 1.8.3 -> 1.9.0

Changelog: https://git.tozt.net/rbw/plain/CHANGELOG.md?id=1.9.0
This commit is contained in:
Jörg Thalheim 2024-01-02 12:05:19 +01:00
parent 3c379dd7c6
commit 233d66da7f

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 ''