commit
89a7d1afe9
19
pkgs/tools/security/rbw/bump-security-framework-crate.patch
Normal file
19
pkgs/tools/security/rbw/bump-security-framework-crate.patch
Normal file
@ -0,0 +1,19 @@
|
||||
Bump security-framework from 2.1.1 to 2.1.2
|
||||
|
||||
security-framework=2.1.1 doesn't build on Darwin 10.12.
|
||||
https://github.com/kornelski/rust-security-framework/issues/124
|
||||
|
||||
--- i/Cargo.lock
|
||||
+++ w/Cargo.lock
|
||||
@@ -1361,9 +1361,9 @@ checksum = "d29ab0c6d3fc0ee92fe66e2d99f700eab17a8d57d1c1d3b748380fb20baa78cd"
|
||||
|
||||
[[package]]
|
||||
name = "security-framework"
|
||||
-version = "2.1.1"
|
||||
+version = "2.1.2"
|
||||
source = "registry+https://github.com/rust-lang/crates.io-index"
|
||||
-checksum = "2dfd318104249865096c8da1dfabf09ddbb6d0330ea176812a62ec75e40c4166"
|
||||
+checksum = "d493c5f39e02dfb062cd8f33301f90f9b13b650e8c1b1d0fd75c19dd64bff69d"
|
||||
dependencies = [
|
||||
"bitflags",
|
||||
"core-foundation",
|
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user