commit
4cce27d742
@ -1,19 +0,0 @@
|
|||||||
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",
|
|
@ -5,6 +5,7 @@
|
|||||||
, openssl
|
, openssl
|
||||||
, pkg-config
|
, pkg-config
|
||||||
, makeWrapper
|
, makeWrapper
|
||||||
|
, installShellFiles
|
||||||
, Security
|
, Security
|
||||||
, libiconv
|
, libiconv
|
||||||
|
|
||||||
@ -20,21 +21,20 @@
|
|||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "rbw";
|
pname = "rbw";
|
||||||
version = "1.1.2";
|
version = "1.2.0";
|
||||||
|
|
||||||
src = fetchCrate {
|
src = fetchCrate {
|
||||||
inherit version;
|
inherit version;
|
||||||
crateName = pname;
|
crateName = pname;
|
||||||
sha256 = "1xihjx4f8kgyablxsy8vgn4w6i92p2xm5ncacdk39npa5g8wadlx";
|
sha256 = "14cnqc5cf6qm2g9ypv2pbqbvymawyrqn3fc778labgqg24khqcyq";
|
||||||
};
|
};
|
||||||
|
|
||||||
cargoSha256 = "0fvs06wd05a90dggi7n46d5gl9flnciqzg9j3ijmz3z5bb6aky1b";
|
cargoSha256 = "0izn5bcvk1rx69sjwyfc49nmvw7k0jysqb0bpdpwdliaa06ggl86";
|
||||||
|
|
||||||
cargoPatches = [ ./bump-security-framework-crate.patch ];
|
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
pkg-config
|
pkg-config
|
||||||
makeWrapper
|
makeWrapper
|
||||||
|
installShellFiles
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = lib.optionals stdenv.isDarwin [ Security libiconv ];
|
buildInputs = lib.optionals stdenv.isDarwin [ Security libiconv ];
|
||||||
@ -60,7 +60,12 @@ rustPlatform.buildRustPackage rec {
|
|||||||
export OPENSSL_LIB_DIR="${openssl.out}/lib"
|
export OPENSSL_LIB_DIR="${openssl.out}/lib"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall = lib.optionalString withFzf ''
|
postInstall = ''
|
||||||
|
for shell in bash zsh fish; do
|
||||||
|
$out/bin/rbw gen-completions $shell > rbw.$shell
|
||||||
|
installShellCompletion rbw.$shell
|
||||||
|
done
|
||||||
|
'' + lib.optionalString withFzf ''
|
||||||
cp bin/rbw-fzf $out/bin
|
cp bin/rbw-fzf $out/bin
|
||||||
'' + lib.optionalString withRofi ''
|
'' + lib.optionalString withRofi ''
|
||||||
cp bin/rbw-rofi $out/bin
|
cp bin/rbw-rofi $out/bin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user