diff options
author | Marek Mahut <marek.mahut@gmail.com> | 2020-01-28 11:14:49 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-28 11:14:49 +0100 |
commit | 3acc5b418943dd87b5b51b11fc8a7d3779ad3250 (patch) | |
tree | 142bb23eec2dfa079258e457ff17f4b6fce664a2 /pkgs/applications/blockchains | |
parent | 0d34bd22bef51ce4f122e328e1b98dd177e0fcd5 (diff) | |
parent | 910c73e062dc14917753df23e017c3ee6f1a37f3 (diff) | |
download | nixlib-3acc5b418943dd87b5b51b11fc8a7d3779ad3250.tar nixlib-3acc5b418943dd87b5b51b11fc8a7d3779ad3250.tar.gz nixlib-3acc5b418943dd87b5b51b11fc8a7d3779ad3250.tar.bz2 nixlib-3acc5b418943dd87b5b51b11fc8a7d3779ad3250.tar.lz nixlib-3acc5b418943dd87b5b51b11fc8a7d3779ad3250.tar.xz nixlib-3acc5b418943dd87b5b51b11fc8a7d3779ad3250.tar.zst nixlib-3acc5b418943dd87b5b51b11fc8a7d3779ad3250.zip |
Merge pull request #78595 from mmahut/litecoin
litecoin: move to qt5 and add zeromq supoort
Diffstat (limited to 'pkgs/applications/blockchains')
-rw-r--r-- | pkgs/applications/blockchains/litecoin.nix | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/pkgs/applications/blockchains/litecoin.nix b/pkgs/applications/blockchains/litecoin.nix index 403c559ee2f1..470772665413 100644 --- a/pkgs/applications/blockchains/litecoin.nix +++ b/pkgs/applications/blockchains/litecoin.nix @@ -1,14 +1,16 @@ -{ stdenv, fetchFromGitHub +{ stdenv, mkDerivation, fetchFromGitHub , pkgconfig, autoreconfHook , openssl, db48, boost, zlib, miniupnpc -, glib, protobuf, utillinux, qt4, qrencode +, glib, protobuf, utillinux, qrencode , AppKit , withGui ? true, libevent +, qtbase, qttools +, zeromq }: with stdenv.lib; -stdenv.mkDerivation rec { +mkDerivation rec { name = "litecoin" + (toString (optional (!withGui) "d")) + "-" + version; version = "0.17.1"; @@ -21,13 +23,15 @@ stdenv.mkDerivation rec { }; nativeBuildInputs = [ pkgconfig autoreconfHook ]; - buildInputs = [ openssl db48 boost zlib + buildInputs = [ openssl db48 boost zlib zeromq miniupnpc glib protobuf utillinux libevent ] ++ optionals stdenv.isDarwin [ AppKit ] - ++ optionals withGui [ qt4 qrencode ]; + ++ optionals withGui [ qtbase qttools qrencode ]; configureFlags = [ "--with-boost-libdir=${boost.out}/lib" ] - ++ optionals withGui [ "--with-gui=qt4" ]; + ++ optionals withGui [ + "--with-gui=qt5" + "--with-qt-bindir=${qtbase.dev}/bin:${qttools.dev}/bin" ]; enableParallelBuilding = true; |