diff options
author | Domen Kožar <domen@dev.si> | 2014-05-25 15:38:22 +0200 |
---|---|---|
committer | Domen Kožar <domen@dev.si> | 2014-05-25 15:38:22 +0200 |
commit | 6915bc07b2a4c3e2ef05cf018a77e3d3d46b1b55 (patch) | |
tree | bca6c0234f056439f76eb4b305530bb67f2ce217 /pkgs | |
parent | ed5490a2b01d4cd61055abe62b041052c77e531b (diff) | |
parent | 0a794b79ca0eb751d2a16c1d6ac93fc0ce3fd17f (diff) | |
download | nixlib-6915bc07b2a4c3e2ef05cf018a77e3d3d46b1b55.tar nixlib-6915bc07b2a4c3e2ef05cf018a77e3d3d46b1b55.tar.gz nixlib-6915bc07b2a4c3e2ef05cf018a77e3d3d46b1b55.tar.bz2 nixlib-6915bc07b2a4c3e2ef05cf018a77e3d3d46b1b55.tar.lz nixlib-6915bc07b2a4c3e2ef05cf018a77e3d3d46b1b55.tar.xz nixlib-6915bc07b2a4c3e2ef05cf018a77e3d3d46b1b55.tar.zst nixlib-6915bc07b2a4c3e2ef05cf018a77e3d3d46b1b55.zip |
Merge pull request #2740 from ttuegel/clementine
clementine: disable unfree dependencies by default
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/audio/clementine/default.nix | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/applications/audio/clementine/default.nix b/pkgs/applications/audio/clementine/default.nix index 5d4a3614e408..512ca89031d0 100644 --- a/pkgs/applications/audio/clementine/default.nix +++ b/pkgs/applications/audio/clementine/default.nix @@ -1,8 +1,10 @@ { stdenv, fetchurl, boost, cmake, gettext, gstreamer, gst_plugins_base , liblastfm, qt4, taglib, fftw, glew, qjson, sqlite, libgpod, libplist , usbmuxd, libmtp, gvfs, libcdio, protobuf, libspotify, qca2, pkgconfig -, sparsehash }: +, sparsehash, config }: +let withSpotify = config.clementine.spotify or false; +in stdenv.mkDerivation { name = "clementine-1.2.1"; @@ -27,7 +29,6 @@ stdenv.mkDerivation { liblastfm libmtp libplist - libspotify pkgconfig protobuf qca2 @@ -37,7 +38,7 @@ stdenv.mkDerivation { sqlite taglib usbmuxd - ]; + ] ++ stdenv.lib.optional withSpotify libspotify; meta = with stdenv.lib; { homepage = "http://www.clementine-player.org"; @@ -45,6 +46,7 @@ stdenv.mkDerivation { license = licenses.gpl3Plus; platforms = platforms.linux; maintainers = [ maintainers.ttuegel ]; - hydraPlatforms = []; # libspotify is unfree + # libspotify is unfree + hydraPlatforms = optional (not withSpotify) platforms.linux; }; } |