@@ -1,6 +1,7 @@
11{ stdenv, fetchFromGitHub, pkgconfig, autoreconfHook, openssl, db48, boost
22, zlib, miniupnpc, qt4, utillinux, protobuf, qrencode, libevent
3−, withGui }:
3+, withGui
4+, Foundation, ApplicationServices, AppKit }:
45
56with stdenv.lib;
67
@@ -19,7 +20,8 @@ stdenv.mkDerivation rec {
1920 nativeBuildInputs = [ pkgconfig autoreconfHook ];
2021 buildInputs = [ openssl db48 boost zlib
2122 miniupnpc utillinux protobuf libevent ]
22− ++ optionals withGui [ qt4 qrencode ];
23+ ++ optionals withGui [ qt4 qrencode ]
24+ ++ optionals stdenv.isDarwin [ Foundation ApplicationServices AppKit ];
2325
2426 patches = [
2527 ./bitcoin-unlimited-const-comparators.patch
@@ -36,7 +38,7 @@ stdenv.mkDerivation rec {
3638 completely decentralized, without the need for a central server or trusted
3739 parties. Users hold the crypto keys to their own money and transact directly
3840 with each other, with the help of a P2P network to check for double-spending.
39−
41+
4042 The Bitcoin Unlimited (BU) project seeks to provide a voice to all
4143 stakeholders in the Bitcoin ecosystem.
4244
@@ -55,7 +57,7 @@ stdenv.mkDerivation rec {
5557
5658 If you support an increase in the blocksize limit by any means - or just
5759 support Bitcoin conflict resolution as originally envisioned by its founder -
58− consider running a Bitcoin Unlimited client.
60+ consider running a Bitcoin Unlimited client.
5961 '';
6062 homepage = https://www.bitcoinunlimited.info/;
6163 maintainers = with maintainers; [ DmitryTsygankov ];