anchor.diff:      description = "A toolkit for creating graphical user interfaces";
       homepage = http://www.gtk.org/;
       license = licenses.lgpl2Plus;
  -    maintainers = with maintainers; [ ];
  -    platforms = platforms.linux;
  +    maintainers = with maintainers; [
  +      codyopel
  +    ];
  +    platforms = [
  +      "i686-linux"
  +      "x86_64-linux"
  +    ];
     };
   }
  
positive.code: with {
    inherit (stdenv.lib)
      enFlag
      wtFlag;
  };
  
  stdenv.mkDerivation rec {
    name = "gtk+-${version}";
  
negative.code:     (wtFlag "x" (xorg != null) null)
    ];
  
    postInstall = "rm -rvf $out/share/gtk-doc";
  
    # TODO: disable unnecessary tests
    doCheck = false;
  
    passthru = {
      gtkExeEnvPostBuild = ''
        rm -v $out/lib/gtk-3.0/3.0.0/immodules.cache
        $out/bin/gtk-query-immodules-3.0 $out/lib/gtk-3.0/3.0.0/immodules/*.so > \
          $out/lib/gtk-3.0/3.0.0/immodules.cache
      ''; # workaround for bug of nix-mode for Emacs */ '';
  