anchor.diff:      usbmuxd
     ] ++ stdenv.lib.optional withSpotify libspotify;
   
  +  enableParallelBuilding = true;
  +
     meta = with stdenv.lib; {
       homepage = "http://www.clementine-player.org";
       description = "A multiplatform music player";
  
positive.code: let withSpotify = config.clementine.spotify or false;
  in
  stdenv.mkDerivation {
    name = "clementine-1.2.1";
  
    src = fetchurl {
      url = http://clementine-player.googlecode.com/files/clementine-1.2.1.tar.gz;
      sha256 = "0kk5cjmb8nirx0im3c0z91af2k72zxi6lwzm6rb57qihya5nwmfv";
    };
  
    patches = [ ./clementine-1.2.1-include-paths.patch ];
  
negative.code:     platforms = platforms.linux;
      maintainers = [ maintainers.ttuegel ];
      # libspotify is unfree
      hydraPlatforms = optionals (!withSpotify) platforms.linux;
    };
  }
  