anchor.diff:      glib
       itstool
       wrapGAppsHook
  +    desktop-file-utils
     ];
   
     buildInputs = [
  
positive.code: , json-glib
  , itstool
  , wrapGAppsHook
  , gst_all_1
  , gst_plugins ? with gst_all_1; [ gst-plugins-good gst-plugins-ugly ]
  }:
  
  stdenv.mkDerivation rec {
    pname = "rhythmbox";
    version = "3.4.5";
  
    src = fetchurl {
      url = "mirror://gnome/sources/${pname}/${lib.versions.majorMinor version}/${pname}-${version}.tar.xz";
      sha256 = "l+u8YPN4sibaRbtEbYmQL26hgx4j8Q76ujZVk7HnTyo=";
    };
  
    patches = [
      # Fix stuff linking against rhythmdb not finding libxml headers
      # included by rhythmdb.h header.
      # https://gitlab.gnome.org/GNOME/rhythmbox/-/merge_requests/147
      (fetchpatch {
        url = "https://gitlab.gnome.org/GNOME/rhythmbox/-/commit/7e8c7b803a45b7badf350132f8e78e3d75b99a21.patch";
        sha256 = "5CE/NVlmx7FItNJCVQxx+x0DCYhUkAi/UuksfAiyWBg=";
      })
    ];
  
    nativeBuildInputs = [
      pkg-config
  
negative.code: { stdenv
  , lib
  , fetchurl
  , pkg-config
  , meson
  , ninja
  