git.iko.soy/typeable/nixpkgs
on master help sign in
monero-gui: cleanup
commit3d3d8a10ae890f38ddf35f3a190251b4d932fd00 authorSandro Jäckel <sandro.jaeckel@gmail.com> dateFri 16 Jul 2021, 01:27 (5 years ago) parent6d1dd6a
1 file changed+5−10
pkgs/applications/blockchains/monero-gui/default.nix+5−10
pkgs/applications/blockchains/monero-gui/default.nix+5−10
@@ -9,14 +9,9 @@
99, boost, libunwind, libsodium, pcsclite
1010, randomx, zeromq, libgcrypt, libgpgerror
1111, hidapi, rapidjson, quirc
12−, trezorSupport ? true
13−, libusb1
14−, protobuf
15−, python3
12+, trezorSupport ? true, libusb1, protobuf, python3
1613}:
1714
18−with lib;
19−
2015stdenv.mkDerivation rec {
2116 pname = "monero-gui";
2217 version = "0.17.2.2";
@@ -30,7 +25,7 @@ stdenv.mkDerivation rec {
3025
3126 nativeBuildInputs = [
3227 cmake pkg-config wrapQtAppsHook
33− (getDev qttools)
28+ (lib.getDev qttools)
3429 ];
3530
3631 buildInputs = [
@@ -41,8 +36,8 @@ stdenv.mkDerivation rec {
4136 randomx libgcrypt libgpgerror
4237 boost libunwind libsodium pcsclite
4338 zeromq hidapi rapidjson quirc
44− ] ++ optionals trezorSupport [ libusb1 protobuf python3 ]
45− ++ optionals stdenv.isDarwin [ qtmacextras ];
39+ ] ++ lib.optionals trezorSupport [ libusb1 protobuf python3 ]
40+ ++ lib.optionals stdenv.isDarwin [ qtmacextras ];
4641
4742 postUnpack = ''
4843 # copy monero sources here
@@ -98,7 +93,7 @@ stdenv.mkDerivation rec {
9893 done;
9994 '';
10095
101− meta = {
96+ meta = with lib; {
10297 description = "Private, secure, untraceable currency";
10398 homepage = "https://getmonero.org/";
10499 license = licenses.bsd3;