anchor.diff:        excludes = [ "po/POTFILES.in" ];
       })
   
  -    # Complete switching to gst-transcoder in gst-plugins-bad.
  -    # Otherwise there will likely be conflics.
  -    # TODO: Apply this patch once we are using gst-transcoder from gst-plugins-bad.
  -    # (fetchpatch {
  -    #   url = "https://gitlab.gnome.org/GNOME/pitivi/commit/51ae6533ee26ffd47e453eb5f5ad8cd46f57d15e.patch";
  -    #   sha256 = "zxJm+E5o+oZ3lW6wYNY/ERo2g4NmCjoY8oV+uScq8j8=";
  -    # })
  +    # Compatibility with using gst-transcoder from gst-plugins-bad.
  +    # TODO Remove with version 2020.09
  +    (fetchpatch {
  +      url = "https://gitlab.gnome.org/GNOME/pitivi/commit/51ae6533ee26ffd47e453eb5f5ad8cd46f57d15e.patch";
  +      sha256 = "zxJm+E5o+oZ3lW6wYNY/ERo2g4NmCjoY8oV+uScq8j8=";
  +    })
   
       # Generate renderer.so on macOS instead of dylib.
       # Needed for the following patch to apply.
  
positive.code:     gnome3.adwaita-icon-theme
      gsettings-desktop-schemas
      libnotify
      gst-transcoder
    ] ++ (with gst_all_1; [
      gstreamer
      gst-editing-services
  
negative.code: , gsettings-desktop-schemas
  }:
  
  python3Packages.buildPythonApplication rec {
    pname = "pitivi";
    version = "0.999";
  
  