diff options
Diffstat (limited to 'pkgs/tomahawk')
-rw-r--r-- | pkgs/tomahawk/default.nix | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/pkgs/tomahawk/default.nix b/pkgs/tomahawk/default.nix index 7b2835b9..79510582 100644 --- a/pkgs/tomahawk/default.nix +++ b/pkgs/tomahawk/default.nix @@ -1,6 +1,6 @@ { stdenv, fetchFromGitHub, fetchurl, cmake, pkgconfig, boost, gnutls -, libechonest, liblastfm, lucenepp, qca-qt5, qt5, qtkeychain -, kde5, sparsehash, taglib, websocketpp, makeWrapper, ffmpeg_2, v4l_utils +, libechonest, liblastfm, lucenepp, qt5, qtkeychain, kde5, sparsehash, taglib +, websocketpp, ffmpeg_2, v4l_utils , enableXMPP ? true, libjreen ? null , enableKDE ? false, kdelibs ? null @@ -52,10 +52,6 @@ let }; }; - attica = kde5.attica.override { extra-cmake-modules = ecm; }; - ecm = kde5.extra-cmake-modules.override { inherit (qt5) qttools; }; - qca = qca-qt5.override { inherit (qt5) qtbase; }; - in stdenv.mkDerivation rec { name = "tomahawk-${version}"; version = "0.9.0-git"; @@ -72,10 +68,13 @@ in stdenv.mkDerivation rec { "-DLUCENEPP_LIBRARY_DIR=${lucenepp}/lib" ]; - buildInputs = (map useQT5 [ liblastfm qt5.quazip ]) ++ [ - qca qtkeychainQT5 libechonestQT5 attica cmake pkgconfig ecm boost gnutls - lucenepp vlc qt5.qtbase qt5.qtsvg qt5.qttools qt5.qtwebkit qt5.qtx11extras - sparsehash taglib websocketpp makeWrapper + nativeBuildInputs = [ cmake pkgconfig ]; + + buildInputs = (with qt5; [ + attica ecm qca-qt5 qtbase qtsvg qttools qtwebkit qtx11extras + ]) ++ map useQT5 [ liblastfm qt5.quazip ] ++ [ + boost gnutls lucenepp sparsehash taglib vlc websocketpp + qtkeychainQT5 libechonestQT5 ] ++ stdenv.lib.optional enableXMPP (useQT5 libjreen) ++ stdenv.lib.optional enableKDE (useQT5 kdelibs) ++ stdenv.lib.optional enableTelepathy (useQT5 telepathy_qt); |