Merge pull request #83115 from rnhmjoj/monero

monero-gui: 0.15.0.1 -> 0.15.0.4

authored by

Michele Guerini Rocco and committed by
GitHub
bb9cf0f3 fd3936ec

+26 -26
+14 -15
pkgs/applications/blockchains/monero-gui/default.nix
··· 1 - { stdenv, wrapQtAppsHook, makeDesktopItem, fetchFromGitHub 2 - , qtbase, qmake, qtmultimedia, qttools 3 - , qtgraphicaleffects, qtdeclarative 4 - , qtlocation, qtquickcontrols, qtquickcontrols2 5 - , qtwebchannel, qtwebengine, qtx11extras, qtxmlpatterns 6 , monero, unbound, readline, boost, libunwind 7 - , libsodium, pcsclite, zeromq, cppzmq, pkgconfig 8 - , hidapi, randomx 9 }: 10 11 with stdenv.lib; 12 13 stdenv.mkDerivation rec { 14 pname = "monero-gui"; 15 - version = "0.15.0.1"; 16 17 src = fetchFromGitHub { 18 owner = "monero-project"; 19 repo = "monero-gui"; 20 rev = "v${version}"; 21 - sha256 = "08j8kkncdn57xql0bhmlzjpjkdfhqbpda1p07r797q8qi0nl4w8n"; 22 }; 23 24 nativeBuildInputs = [ qmake pkgconfig wrapQtAppsHook ]; 25 26 buildInputs = [ 27 - qtbase qtmultimedia qtgraphicaleffects 28 - qtdeclarative qtlocation 29 - qtquickcontrols qtquickcontrols2 30 - qtwebchannel qtwebengine qtx11extras 31 - qtxmlpatterns monero unbound readline 32 boost libunwind libsodium pcsclite zeromq 33 - cppzmq hidapi randomx 34 ]; 35 36 NIX_CFLAGS_COMPILE = [ "-Wno-error=format-security" ];
··· 1 + { stdenv, wrapQtAppsHook, makeDesktopItem 2 + , fetchFromGitHub, qmake, qttools, pkgconfig 3 + , qtbase, qtdeclarative, qtgraphicaleffects 4 + , qtmultimedia, qtxmlpatterns 5 + , qtquickcontrols, qtquickcontrols2 6 , monero, unbound, readline, boost, libunwind 7 + , libsodium, pcsclite, zeromq, cppzmq 8 + , hidapi, libusb, protobuf, randomx 9 }: 10 11 with stdenv.lib; 12 13 stdenv.mkDerivation rec { 14 pname = "monero-gui"; 15 + version = "0.15.0.4"; 16 17 src = fetchFromGitHub { 18 owner = "monero-project"; 19 repo = "monero-gui"; 20 rev = "v${version}"; 21 + sha256 = "12m5fgnxkr11q2arx1m5ccpxqm5ljcvm6l547dwqn297zs5jim4z"; 22 }; 23 24 nativeBuildInputs = [ qmake pkgconfig wrapQtAppsHook ]; 25 26 buildInputs = [ 27 + qtbase qtdeclarative qtgraphicaleffects 28 + qtmultimedia qtquickcontrols qtquickcontrols2 29 + qtxmlpatterns 30 + monero unbound readline 31 boost libunwind libsodium pcsclite zeromq 32 + cppzmq hidapi libusb protobuf randomx 33 ]; 34 35 NIX_CFLAGS_COMPILE = [ "-Wno-error=format-security" ];
+8 -9
pkgs/applications/blockchains/monero-gui/move-log-file.patch
··· 1 - diff --git a/main.cpp b/main.cpp 2 - index a51568d..5a9f683 100644 3 - --- a/main.cpp 4 - +++ b/main.cpp 5 - @@ -152,7 +152,9 @@ int main(int argc, char *argv[]) 6 QCommandLineOption logPathOption(QStringList() << "l" << "log-file", 7 QCoreApplication::translate("main", "Log to specified file"), 8 QCoreApplication::translate("main", "file")); 9 - - 10 + logPathOption.setDefaultValue( 11 + QStandardPaths::writableLocation(QStandardPaths::CacheLocation) 12 + + "/monero-wallet-gui.log"); 13 - parser.addOption(logPathOption); 14 - parser.addHelpOption(); 15 - parser.process(app);
··· 1 + diff --git a/src/main/main.cpp b/src/main/main.cpp 2 + index c5210e5f..45794d72 100644 3 + --- a/src/main/main.cpp 4 + +++ b/src/main/main.cpp 5 + @@ -220,6 +220,9 @@ int main(int argc, char *argv[]) 6 QCommandLineOption logPathOption(QStringList() << "l" << "log-file", 7 QCoreApplication::translate("main", "Log to specified file"), 8 QCoreApplication::translate("main", "file")); 9 + logPathOption.setDefaultValue( 10 + QStandardPaths::writableLocation(QStandardPaths::CacheLocation) 11 + + "/monero-wallet-gui.log"); 12 + 13 + QCommandLineOption testQmlOption("test-qml"); 14 + testQmlOption.setFlags(QCommandLineOption::HiddenFromHelp);
+2 -2
pkgs/applications/blockchains/monero/default.nix
··· 2 , cmake, pkgconfig 3 , boost, miniupnpc, openssl, unbound, cppzmq 4 , zeromq, pcsclite, readline, libsodium, hidapi 5 - , python3Packages, randomx, rapidjson 6 , CoreData, IOKit, PCSC 7 }: 8 ··· 26 boost miniupnpc openssl unbound 27 cppzmq zeromq pcsclite readline 28 libsodium hidapi randomx rapidjson 29 - python3Packages.protobuf 30 ] ++ stdenv.lib.optionals stdenv.isDarwin [ IOKit CoreData PCSC ]; 31 32 cmakeFlags = [
··· 2 , cmake, pkgconfig 3 , boost, miniupnpc, openssl, unbound, cppzmq 4 , zeromq, pcsclite, readline, libsodium, hidapi 5 + , pythonProtobuf, randomx, rapidjson, libusb 6 , CoreData, IOKit, PCSC 7 }: 8 ··· 26 boost miniupnpc openssl unbound 27 cppzmq zeromq pcsclite readline 28 libsodium hidapi randomx rapidjson 29 + pythonProtobuf libusb 30 ] ++ stdenv.lib.optionals stdenv.isDarwin [ IOKit CoreData PCSC ]; 31 32 cmakeFlags = [
+2
pkgs/top-level/all-packages.nix
··· 22982 22983 monero = callPackage ../applications/blockchains/monero { 22984 inherit (darwin.apple_sdk.frameworks) CoreData IOKit PCSC; 22985 }; 22986 22987 monero-gui = libsForQt5.callPackage ../applications/blockchains/monero-gui { 22988 boost = boost16x; 22989 }; 22990 22991 masari = callPackage ../applications/blockchains/masari.nix { boost = boost165; };
··· 22982 22983 monero = callPackage ../applications/blockchains/monero { 22984 inherit (darwin.apple_sdk.frameworks) CoreData IOKit PCSC; 22985 + pythonProtobuf = python3Packages.protobuf.override { protobuf = protobuf3_10; }; 22986 }; 22987 22988 monero-gui = libsForQt5.callPackage ../applications/blockchains/monero-gui { 22989 boost = boost16x; 22990 + protobuf = protobuf3_10; 22991 }; 22992 22993 masari = callPackage ../applications/blockchains/masari.nix { boost = boost165; };