Merge pull request #83115 from rnhmjoj/monero

monero-gui: 0.15.0.1 -> 0.15.0.4
This commit is contained in:
Michele Guerini Rocco 2020-03-22 09:14:21 +01:00 committed by GitHub
commit bb9cf0f369
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 26 additions and 26 deletions

View File

@ -1,36 +1,35 @@
{ stdenv, wrapQtAppsHook, makeDesktopItem, fetchFromGitHub { stdenv, wrapQtAppsHook, makeDesktopItem
, qtbase, qmake, qtmultimedia, qttools , fetchFromGitHub, qmake, qttools, pkgconfig
, qtgraphicaleffects, qtdeclarative , qtbase, qtdeclarative, qtgraphicaleffects
, qtlocation, qtquickcontrols, qtquickcontrols2 , qtmultimedia, qtxmlpatterns
, qtwebchannel, qtwebengine, qtx11extras, qtxmlpatterns , qtquickcontrols, qtquickcontrols2
, monero, unbound, readline, boost, libunwind , monero, unbound, readline, boost, libunwind
, libsodium, pcsclite, zeromq, cppzmq, pkgconfig , libsodium, pcsclite, zeromq, cppzmq
, hidapi, randomx , hidapi, libusb, protobuf, randomx
}: }:
with stdenv.lib; with stdenv.lib;
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "monero-gui"; pname = "monero-gui";
version = "0.15.0.1"; version = "0.15.0.4";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "monero-project"; owner = "monero-project";
repo = "monero-gui"; repo = "monero-gui";
rev = "v${version}"; rev = "v${version}";
sha256 = "08j8kkncdn57xql0bhmlzjpjkdfhqbpda1p07r797q8qi0nl4w8n"; sha256 = "12m5fgnxkr11q2arx1m5ccpxqm5ljcvm6l547dwqn297zs5jim4z";
}; };
nativeBuildInputs = [ qmake pkgconfig wrapQtAppsHook ]; nativeBuildInputs = [ qmake pkgconfig wrapQtAppsHook ];
buildInputs = [ buildInputs = [
qtbase qtmultimedia qtgraphicaleffects qtbase qtdeclarative qtgraphicaleffects
qtdeclarative qtlocation qtmultimedia qtquickcontrols qtquickcontrols2
qtquickcontrols qtquickcontrols2 qtxmlpatterns
qtwebchannel qtwebengine qtx11extras monero unbound readline
qtxmlpatterns monero unbound readline
boost libunwind libsodium pcsclite zeromq boost libunwind libsodium pcsclite zeromq
cppzmq hidapi randomx cppzmq hidapi libusb protobuf randomx
]; ];
NIX_CFLAGS_COMPILE = [ "-Wno-error=format-security" ]; NIX_CFLAGS_COMPILE = [ "-Wno-error=format-security" ];

View File

@ -1,15 +1,14 @@
diff --git a/main.cpp b/main.cpp diff --git a/src/main/main.cpp b/src/main/main.cpp
index a51568d..5a9f683 100644 index c5210e5f..45794d72 100644
--- a/main.cpp --- a/src/main/main.cpp
+++ b/main.cpp +++ b/src/main/main.cpp
@@ -152,7 +152,9 @@ int main(int argc, char *argv[]) @@ -220,6 +220,9 @@ int main(int argc, char *argv[])
QCommandLineOption logPathOption(QStringList() << "l" << "log-file", QCommandLineOption logPathOption(QStringList() << "l" << "log-file",
QCoreApplication::translate("main", "Log to specified file"), QCoreApplication::translate("main", "Log to specified file"),
QCoreApplication::translate("main", "file")); QCoreApplication::translate("main", "file"));
-
+ logPathOption.setDefaultValue( + logPathOption.setDefaultValue(
+ QStandardPaths::writableLocation(QStandardPaths::CacheLocation) + QStandardPaths::writableLocation(QStandardPaths::CacheLocation)
+ + "/monero-wallet-gui.log"); + + "/monero-wallet-gui.log");
parser.addOption(logPathOption);
parser.addHelpOption(); QCommandLineOption testQmlOption("test-qml");
parser.process(app); testQmlOption.setFlags(QCommandLineOption::HiddenFromHelp);

View File

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

View File

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