wagyu: fix darwin build (#123547)
This commit is contained in:
parent
3ac820e157
commit
1dbb8fa2be
|
@ -1,4 +1,4 @@
|
||||||
{ lib, rustPlatform, fetchFromGitHub }:
|
{ lib, stdenv, rustPlatform, fetchFromGitHub, Security }:
|
||||||
|
|
||||||
rustPlatform.buildRustPackage rec {
|
rustPlatform.buildRustPackage rec {
|
||||||
pname = "wagyu";
|
pname = "wagyu";
|
||||||
|
@ -13,6 +13,8 @@ rustPlatform.buildRustPackage rec {
|
||||||
|
|
||||||
cargoSha256 = "16d1b3pamkg29nq80n6cbzc4zl9z3cgfvdxjkr2z4xrnzmkn1ysi";
|
cargoSha256 = "16d1b3pamkg29nq80n6cbzc4zl9z3cgfvdxjkr2z4xrnzmkn1ysi";
|
||||||
|
|
||||||
|
buildInputs = lib.optional stdenv.isDarwin Security;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Rust library for generating cryptocurrency wallets";
|
description = "Rust library for generating cryptocurrency wallets";
|
||||||
homepage = "https://github.com/ArgusHQ/wagyu";
|
homepage = "https://github.com/ArgusHQ/wagyu";
|
||||||
|
|
|
@ -9666,7 +9666,9 @@ in
|
||||||
waf = callPackage ../development/tools/build-managers/waf { python = python3; };
|
waf = callPackage ../development/tools/build-managers/waf { python = python3; };
|
||||||
wafHook = callPackage ../development/tools/build-managers/wafHook { };
|
wafHook = callPackage ../development/tools/build-managers/wafHook { };
|
||||||
|
|
||||||
wagyu = callPackage ../tools/misc/wagyu { };
|
wagyu = callPackage ../tools/misc/wagyu {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
|
};
|
||||||
|
|
||||||
wakelan = callPackage ../tools/networking/wakelan { };
|
wakelan = callPackage ../tools/networking/wakelan { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue