diff options
author | rnhmjoj <rnhmjoj@inventati.org> | 2018-03-31 04:07:28 +0200 |
---|---|---|
committer | rnhmjoj <rnhmjoj@inventati.org> | 2018-03-31 11:27:44 +0200 |
commit | 6545d1502070362b6b2490935fcc4a966acdfca2 (patch) | |
tree | 18f82b37d1af9a90833277c7736294d31bf9c538 /pkgs/applications/altcoins | |
parent | 80e730c9a41ee327308144ffcde47f03a148e7c2 (diff) | |
download | nixlib-6545d1502070362b6b2490935fcc4a966acdfca2.tar nixlib-6545d1502070362b6b2490935fcc4a966acdfca2.tar.gz nixlib-6545d1502070362b6b2490935fcc4a966acdfca2.tar.bz2 nixlib-6545d1502070362b6b2490935fcc4a966acdfca2.tar.lz nixlib-6545d1502070362b6b2490935fcc4a966acdfca2.tar.xz nixlib-6545d1502070362b6b2490935fcc4a966acdfca2.tar.zst nixlib-6545d1502070362b6b2490935fcc4a966acdfca2.zip |
monero: cleanup
Diffstat (limited to 'pkgs/applications/altcoins')
-rw-r--r-- | pkgs/applications/altcoins/monero/default.nix | 29 |
1 files changed, 14 insertions, 15 deletions
diff --git a/pkgs/applications/altcoins/monero/default.nix b/pkgs/applications/altcoins/monero/default.nix index 48932afaa0e2..85f5c2eb07c3 100644 --- a/pkgs/applications/altcoins/monero/default.nix +++ b/pkgs/applications/altcoins/monero/default.nix @@ -1,8 +1,13 @@ -{ stdenv, fetchpatch, fetchFromGitHub, cmake, pkgconfig, git -, boost, miniupnpc, openssl, unbound, cppzmq, zeromq, pcsclite -, readline, IOKit +{ stdenv, fetchFromGitHub, cmake, pkgconfig, git +, boost, miniupnpc, openssl, unbound, cppzmq +, zeromq, pcsclite, readline +, IOKit ? null }: +assert stdenv.isDarwin -> IOKit != null; + +with stdenv.lib; + stdenv.mkDerivation rec { name = "monero-${version}"; version = "0.12.0.0"; @@ -16,8 +21,10 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ cmake pkgconfig git ]; - buildInputs = [ boost miniupnpc openssl unbound cppzmq zeromq pcsclite readline ] - ++ stdenv.lib.optional stdenv.isDarwin IOKit; + buildInputs = [ + boost miniupnpc openssl unbound + cppzmq zeromq pcsclite readline + ] ++ optional stdenv.isDarwin IOKit; cmakeFlags = [ "-DCMAKE_BUILD_TYPE=Release" @@ -27,19 +34,11 @@ stdenv.mkDerivation rec { hardeningDisable = [ "fortify" ]; - installPhase = '' - make install - install -Dt "$out/bin/" \ - bin/monero-blockchain-export \ - bin/monero-blockchain-import \ - bin/monero-wallet-rpc - ''; - - meta = with stdenv.lib; { + meta = { description = "Private, secure, untraceable currency"; homepage = https://getmonero.org/; license = licenses.bsd3; platforms = platforms.all; - maintainers = [ maintainers.ehmry ]; + maintainers = with maintainers; [ ehmry rnhmjoj ]; }; } |