anchor.diff:      sha256 = "128rrlvrgb4ia3pbzipf5mi6nvrpm6zmxn5r3bynqiikhvify3k9";
     };
   
  +  nativeBuildInputs = [
  +    autoconf
  +    automake
  +    gettext
  +    intltool
  +    libtool
  +  ];
  +
  +  propagatedBuildInputs = [
  +    optLibcap
  +  ];
  +
  +  buildInputs = [
  +    json_c
  +    libsndfile
  +    check
  +    database
  +    valgrind
  +    optOss
  +    optCoreaudio
  +    optAlsaLib
  +    optEsound
  +    optGlib
  +    optGtk3
  +    optGconf
  +    optAvahi
  +    optLibjack2
  +    optLibasyncns
  +    optLirc
  +    optDbus
  +    optUdev
  +    optOpenssl
  +    optFftw
  +    optSpeexdsp
  +    optSoxr
  +    optSystemd
  +    optWebrtc-audio-processing
  +  ] ++ optionals hasXlibs (with xorg; [
  +    libX11
  +    libxcb
  +    libICE
  +    libSM
  +    libXtst
  +    xextproto
  +    libXi
  +  ]) ++ optionals (optBluez != null) [
  +    optBluez
  +    optSbc
  +  ];
  +
     patches = [
       (fetchTritonPatch {
         rev = "eb290e5c68b1b1492561a04baf072d5b7e600cb0";
  
positive.code:     })
    ];
  
    postPatch = optionalString (loopbackLatencyMsec != "200")
    /* Allow patching default latency_msec */ ''
      sed -e 's/DEFAULT_LATENCY_MSEC 200/DEFAULT_LATENCY_MSEC ${loopbackLatencyMsec}/' \
          -i src/modules/module-loopback.c
    '' + optionalString (resampleMethod != "speex-float-1")
    /* Allow patching default resampler */ ''
      sed -e 's/unique_jhsdjhsdf_string/${resampleMethodString}/' \
          -i src/pulsecore/resampler.c
    '';
  
    configureFlags = [
      (otFlag "localstatedir" true "/var")
  
negative.code:       "\${out}/share/bash-completions/completions")
    ];
  
    installFlags = [
      "sysconfdir=$(out)/etc"
      "pulseconfdir=$(out)/etc/pulse"
  