trezord: fix build on darwin
This commit is contained in:
parent
b2e2f0422f
commit
e4774d7ff3
@ -1,7 +1,9 @@
|
|||||||
{ lib
|
{ lib
|
||||||
|
, stdenv
|
||||||
, buildGoModule
|
, buildGoModule
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
, trezor-udev-rules
|
, trezor-udev-rules
|
||||||
|
, AppKit
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
@ -17,7 +19,8 @@ buildGoModule rec {
|
|||||||
|
|
||||||
vendorSha256 = "0wb959xzyvr5zzjvkfqc422frmf97q5nr460f02wwx0pj6ch0y61";
|
vendorSha256 = "0wb959xzyvr5zzjvkfqc422frmf97q5nr460f02wwx0pj6ch0y61";
|
||||||
|
|
||||||
propagatedBuildInputs = [ trezor-udev-rules ];
|
propagatedBuildInputs = lib.optionals stdenv.isLinux [ trezor-udev-rules ]
|
||||||
|
++ lib.optionals stdenv.isDarwin [ AppKit ];
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "Trezor Communication Daemon aka Trezor Bridge";
|
description = "Trezor Communication Daemon aka Trezor Bridge";
|
||||||
|
@ -8544,7 +8544,9 @@ in
|
|||||||
|
|
||||||
trezorctl = with python3Packages; toPythonApplication trezor;
|
trezorctl = with python3Packages; toPythonApplication trezor;
|
||||||
|
|
||||||
trezord = callPackage ../servers/trezord { };
|
trezord = callPackage ../servers/trezord {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) AppKit;
|
||||||
|
};
|
||||||
|
|
||||||
trezor_agent = with python3Packages; toPythonApplication trezor_agent;
|
trezor_agent = with python3Packages; toPythonApplication trezor_agent;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user