anchor.diff:  
   stdenv.mkDerivation rec {
     name = "${if libOnly then "lib" else ""}pulseaudio-${version}";
  -  version = "9.0";
  +  version = "10.0";
   
     src = fetchurl {
       url = "http://freedesktop.org/software/pulseaudio/releases/pulseaudio-${version}.tar.xz";
  -    sha256 = "11j682g2mn723sz3bh4i44ggq29z053zcggy0glzn63zh9mxdly3";
  +    sha256 = "0mrg8qvpwm4ifarzphl3749p7p050kdx1l6mvsaj03czvqj6h653";
     };
   
     patches = [ ./caps-fix.patch ]
  
positive.code: { lib, stdenv, fetchurl, fetchpatch, pkgconfig, intltool, autoreconfHook
  , json_c, libsndfile, libtool
  , xorg, libcap, alsaLib, glib
  , avahi, libjack2, libasyncns, lirc, dbus
  , sbc, bluez5, udev, openssl, fftwFloat
  
negative.code:     lib.optionals stdenv.isLinux [ libcap ];
  
    buildInputs =
      [ libsndfile speexdsp fftwFloat ]
      ++ lib.optionals stdenv.isLinux [ glib dbus ]
      ++ lib.optionals stdenv.isDarwin [ CoreServices AudioUnit Cocoa ]
      ++ lib.optionals (!libOnly) (
  