rbw: 1.0.0 -> 1.1.2

This commit is contained in:
Mario Rodas
2021-03-08 04:20:00 +00:00
parent 396b7066bf
commit b0c667a8dd
2 changed files with 26 additions and 4 deletions
+7 -4
View File
@@ -7,6 +7,7 @@
, pkg-config
, makeWrapper
, Security
, libiconv
# rbw-fzf
, withFzf ? false, fzf, perl
@@ -20,22 +21,24 @@
rustPlatform.buildRustPackage rec {
pname = "rbw";
version = "1.0.0"; # do not upgrate 1.1.0 yet, because it doesn't build on Darwin
version = "1.1.2";
src = fetchCrate {
inherit version;
crateName = pname;
sha256 = "0yqn65izcwbh7g085hwq4wrg9y9jlz1xbrq69b6ypqxi9abqnp6q";
sha256 = "1xihjx4f8kgyablxsy8vgn4w6i92p2xm5ncacdk39npa5g8wadlx";
};
cargoSha256 = "0x00clixdbpqif2wzhj3f4k9kpza623xs8a05wq4g15227kz7mlm";
cargoSha256 = "0fvs06wd05a90dggi7n46d5gl9flnciqzg9j3ijmz3z5bb6aky1b";
cargoPatches = [ ./bump-security-framework-crate.patch ];
nativeBuildInputs = [
pkg-config
makeWrapper
];
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
buildInputs = lib.optionals stdenv.isDarwin [ Security libiconv ];
postPatch = ''
substituteInPlace src/pinentry.rs \