monero-gui: cleanup
This commit is contained in:
parent
6d1dd6af04
commit
3d3d8a10ae
|
@ -9,14 +9,9 @@
|
||||||
, boost, libunwind, libsodium, pcsclite
|
, boost, libunwind, libsodium, pcsclite
|
||||||
, randomx, zeromq, libgcrypt, libgpgerror
|
, randomx, zeromq, libgcrypt, libgpgerror
|
||||||
, hidapi, rapidjson, quirc
|
, hidapi, rapidjson, quirc
|
||||||
, trezorSupport ? true
|
, trezorSupport ? true, libusb1, protobuf, python3
|
||||||
, libusb1
|
|
||||||
, protobuf
|
|
||||||
, python3
|
|
||||||
}:
|
}:
|
||||||
|
|
||||||
with lib;
|
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "monero-gui";
|
pname = "monero-gui";
|
||||||
version = "0.17.2.2";
|
version = "0.17.2.2";
|
||||||
|
@ -30,7 +25,7 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
nativeBuildInputs = [
|
nativeBuildInputs = [
|
||||||
cmake pkg-config wrapQtAppsHook
|
cmake pkg-config wrapQtAppsHook
|
||||||
(getDev qttools)
|
(lib.getDev qttools)
|
||||||
];
|
];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
|
@ -41,8 +36,8 @@ stdenv.mkDerivation rec {
|
||||||
randomx libgcrypt libgpgerror
|
randomx libgcrypt libgpgerror
|
||||||
boost libunwind libsodium pcsclite
|
boost libunwind libsodium pcsclite
|
||||||
zeromq hidapi rapidjson quirc
|
zeromq hidapi rapidjson quirc
|
||||||
] ++ optionals trezorSupport [ libusb1 protobuf python3 ]
|
] ++ lib.optionals trezorSupport [ libusb1 protobuf python3 ]
|
||||||
++ optionals stdenv.isDarwin [ qtmacextras ];
|
++ lib.optionals stdenv.isDarwin [ qtmacextras ];
|
||||||
|
|
||||||
postUnpack = ''
|
postUnpack = ''
|
||||||
# copy monero sources here
|
# copy monero sources here
|
||||||
|
@ -98,7 +93,7 @@ stdenv.mkDerivation rec {
|
||||||
done;
|
done;
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = with lib; {
|
||||||
description = "Private, secure, untraceable currency";
|
description = "Private, secure, untraceable currency";
|
||||||
homepage = "https://getmonero.org/";
|
homepage = "https://getmonero.org/";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
|
|
Loading…
Reference in a new issue