anchor.diff:      license = licenses.gpl3Plus;
       platforms = platforms.linux;
       maintainers = [ maintainers.ttuegel ];
  -    hydraPlatforms = []; # libspotify is unfree
  +    # libspotify is unfree
  +    hydraPlatforms = optional (not withSpotify) platforms.linux;
     };
   }
  
positive.code: { 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 }:
  
  stdenv.mkDerivation {
    name = "clementine-1.2.1";
  
  
negative.code:     liblastfm
      libmtp
      libplist
      pkgconfig
      protobuf
      qca2
  