monero: use a compatible protobuf version

This commit is contained in:
rnhmjoj 2020-03-22 03:34:54 +01:00
parent e28f291d3c
commit ddabb09c35
No known key found for this signature in database
GPG key ID: BFBAF4C975F76450
2 changed files with 4 additions and 2 deletions

View file

@ -2,7 +2,7 @@
, cmake, pkgconfig
, boost, miniupnpc, openssl, unbound, cppzmq
, zeromq, pcsclite, readline, libsodium, hidapi
, python3Packages, randomx, rapidjson
, pythonProtobuf, randomx, rapidjson, libusb
, CoreData, IOKit, PCSC
}:
@ -26,7 +26,7 @@ stdenv.mkDerivation rec {
boost miniupnpc openssl unbound
cppzmq zeromq pcsclite readline
libsodium hidapi randomx rapidjson
python3Packages.protobuf
pythonProtobuf libusb
] ++ stdenv.lib.optionals stdenv.isDarwin [ IOKit CoreData PCSC ];
cmakeFlags = [

View file

@ -22969,10 +22969,12 @@ in
monero = callPackage ../applications/blockchains/monero {
inherit (darwin.apple_sdk.frameworks) CoreData IOKit PCSC;
pythonProtobuf = python3Packages.protobuf.override { protobuf = protobuf3_10; };
};
monero-gui = libsForQt5.callPackage ../applications/blockchains/monero-gui {
boost = boost16x;
protobuf = protobuf3_10;
};
masari = callPackage ../applications/blockchains/masari.nix { boost = boost165; };