anchor.diff:        }
       );
   
  -  GST_PLUGIN_PATH = makeSearchPath "lib/gstreamer-1.0" [
  -    gst-plugins-base
  -    gst-plugins-good
  -    #gst-plugins-bad
  -    #gst-plugins-ugly
  -  ];
  -
     patches = [
       (fetchTritonPatch {
         rev = "d3fc5e59bd2b4b465c2652aae5e7428b24eb5669";
  
positive.code:     optionals
      optionalString
      platforms;
  in
  
  let
    optionalPlugins = {
      # TODO: write a generic function to detect null dependencies
      acousticbrainz =
  
negative.code:       test/test_replaygain.py
    '';
  
    GST_PLUGIN_PATH = makeSearchPath "lib/gstreamer-1.0" [
      gst-plugins-base
      gst-plugins-good
      #gst-plugins-bad
      #gst-plugins-ugly
    ];
  
    preFixup = ''
      wrapProgram $out/bin/beet \
        --prefix 'GI_TYPELIB_PATH' : "$GI_TYPELIB_PATH" \
  