wagyu: fix darwin build (#123547)

This commit is contained in:
Stéphan Kochen 2021-05-18 23:16:58 +02:00 committed by GitHub
parent 3ac820e157
commit 1dbb8fa2be
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 2 deletions

View file

@ -1,4 +1,4 @@
{ lib, rustPlatform, fetchFromGitHub }:
{ lib, stdenv, rustPlatform, fetchFromGitHub, Security }:
rustPlatform.buildRustPackage rec {
pname = "wagyu";
@ -13,6 +13,8 @@ rustPlatform.buildRustPackage rec {
cargoSha256 = "16d1b3pamkg29nq80n6cbzc4zl9z3cgfvdxjkr2z4xrnzmkn1ysi";
buildInputs = lib.optional stdenv.isDarwin Security;
meta = with lib; {
description = "Rust library for generating cryptocurrency wallets";
homepage = "https://github.com/ArgusHQ/wagyu";

View file

@ -9666,7 +9666,9 @@ in
waf = callPackage ../development/tools/build-managers/waf { python = python3; };
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 { };