summary refs log tree commit diff
path: root/pkgs/applications/audio/clementine
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@gmail.com>2015-05-02 13:38:16 -0500
committerThomas Tuegel <ttuegel@gmail.com>2015-05-02 13:39:13 -0500
commit5b80605cfd73bac41286804e9d0be1ccaf2f7b6a (patch)
tree2f8428ba4416d932c2577bea6e831ef2f7808a56 /pkgs/applications/audio/clementine
parent9d63a5beea8b4a8b48df1e59edcc3d25d4fc3a72 (diff)
downloadnixpkgs-5b80605cfd73bac41286804e9d0be1ccaf2f7b6a.tar
nixpkgs-5b80605cfd73bac41286804e9d0be1ccaf2f7b6a.tar.gz
nixpkgs-5b80605cfd73bac41286804e9d0be1ccaf2f7b6a.tar.bz2
nixpkgs-5b80605cfd73bac41286804e9d0be1ccaf2f7b6a.tar.lz
nixpkgs-5b80605cfd73bac41286804e9d0be1ccaf2f7b6a.tar.xz
nixpkgs-5b80605cfd73bac41286804e9d0be1ccaf2f7b6a.tar.zst
nixpkgs-5b80605cfd73bac41286804e9d0be1ccaf2f7b6a.zip
clementine: disable build-time libspotify support
Clementine can download the Spotify support blob at runtime for
supported platforms, but we cannot distribute it because of licensing
restrictions.
Diffstat (limited to 'pkgs/applications/audio/clementine')
-rw-r--r--pkgs/applications/audio/clementine/default.nix11
1 files changed, 2 insertions, 9 deletions
diff --git a/pkgs/applications/audio/clementine/default.nix b/pkgs/applications/audio/clementine/default.nix
index c55f3f4d0aa..9e9af0be94d 100644
--- a/pkgs/applications/audio/clementine/default.nix
+++ b/pkgs/applications/audio/clementine/default.nix
@@ -6,8 +6,6 @@
 let
   version = "1.2.3";
 
-  withSpotify = config.clementine.spotify or false;
-
   exeName = "clementine";
 
   unwrapped = stdenv.mkDerivation {
@@ -61,8 +59,7 @@ stdenv.mkDerivation {
   buildInputs = [
     unwrapped
     makeWrapper
-  ] ++ gst_plugins
-    ++ stdenv.lib.optional withSpotify libspotify;
+  ] ++ gst_plugins;
 
   installPhase = ''
     mkdir -p $out/bin
@@ -77,15 +74,11 @@ stdenv.mkDerivation {
   meta = with stdenv.lib; {
     homepage = "http://www.clementine-player.org";
     description = "A multiplatform music player"
-      + " ("
-      + concatStrings (optionals (withSpotify) ["with spotify, "])
-      + "with gstreamer plugins: "
+      + " (with gstreamer plugins: "
       + concatStrings (intersperse ", " (map (x: x.name) gst_plugins))
       + ")";
     license = licenses.gpl3Plus;
     platforms = platforms.linux;
     maintainers = [ maintainers.ttuegel ];
-    # libspotify is unfree
-    hydraPlatforms = optionals (!withSpotify) platforms.linux;
   };
 }