anchor.diff:  
     src = fetchurl {
       url = "mirror://gnome/sources/gtk+/${stdenv.lib.versions.majorMinor version}/gtk+-${version}.tar.xz";
  -    sha256 = "1cg2vbwbcp7bc84ky0b69ipgdr9djhspnf5k8lajb8jphcj4v1jx";
  +    sha256 = "12ipk1d376bai9v820qzhxba93kkh5abi6mhyqr4hwjvqmkl77fc";
     };
   
     patches = [
  
positive.code:       name = "Xft-setting-fallback-compute-DPI-properly.patch";
        url = "https://bug757142.bugzilla-attachments.gnome.org/attachment.cgi?id=344123";
        sha256 = "0g6fhqcv8spfy3mfmxpyji93k8d4p4q4fz1v9a1c1cgcwkz41d7p";
      })
  
      # Fix path handling in pkg-config. MR for the gtk-3-24 branch:
      # https://gitlab.gnome.org/GNOME/gtk/-/merge_requests/2605
      (fetchpatch {
        url = "https://gitlab.gnome.org/GNOME/gtk/commit/6d9db8610eff8c12d594d53b7813d9eea1247801.patch";
        sha256 = "0rd1kjh0m4mrj2hkcqlsq1j0d6ahn5c237fd211r158gd1jiwys0";
      })
    ] ++ optionals stdenv.isDarwin [
      # X11 module requires <gio/gdesktopappinfo.h> which is not installed on Darwin
  
negative.code: 
  stdenv.mkDerivation rec {
    pname = "gtk+3";
    version = "3.24.24";
  
    outputs = [ "out" "dev" ] ++ optional withGtkDoc "devdoc";
    outputBin = "dev";
  