anchor.diff:    buildInputs = [
       gst-plugins-base
       orc
  +    libintl
  +    opencore-amr
  +  ] ++ lib.optionals enableGplPlugins [
       a52dec
       libcdio
       libdvdread
       libmad
       libmpeg2
       x264
  -    libintl
  -    opencore-amr
     ] ++ lib.optionals stdenv.isDarwin [
       IOKit
       CoreFoundation
  
positive.code:       the plug-ins or the supporting libraries might not be how we'd
        like. The code might be widely known to present patent problems.
      '';
      license = licenses.lgpl2Plus;
      platforms = platforms.unix;
      maintainers = with maintainers; [ matthewbauer ];
    };
  
negative.code: , IOKit
  , CoreFoundation
  , DiskArbitration
  , enableGplPlugins ? true
  }:
  
  stdenv.mkDerivation rec {
    pname = "gst-plugins-ugly";
    version = "1.20.0";
  
    outputs = [ "out" "dev" ];
  
    src = fetchurl {
      url = "https://gstreamer.freedesktop.org/src/${pname}/${pname}-${version}.tar.xz";
      sha256 = "sha256-To3LXSZVLwpJN/a8Ynm9kHD1XKauDqoy1y0mTEQAHC4=";
    };
  
    nativeBuildInputs = [
  