anchor.diff:    installFlags = [
       "sysconfdir=\${out}/etc"
       "localstatedir=\${TMPDIR}"
  +    "typelibdir=\${out}/lib/girepository-1.0"
     ];
   
     meta = {
  -    description = "A library for passing menu structures across DBus";
  +    description = "Library for passing menu structures across DBus";
       homepage = https://launchpad.net/dbusmenu;
       license = with licenses; [ gpl3 lgpl21 lgpl3 ];
       platforms = platforms.linux;
  
positive.code:   name = let postfix = if gtkVersion == null then "glib" else "gtk${gtkVersion}";
            in "libdbusmenu-${postfix}-${version}";
    version = "${versionMajor}.${versionMinor}";
    versionMajor = "12.10";
    versionMinor = "2";
  
    src = fetchurl {
      url = "${meta.homepage}/${versionMajor}/${version}/+download/libdbusmenu-${version}.tar.gz";
      sha256 = "9d6ad4a0b918b342ad2ee9230cce8a095eb601cb0cee6ddc1122d0481f9d04c9";
    };
  
    nativeBuildInputs = [ pkgconfig intltool ];
  
    buildInputs = [
      glib dbus_glib json_glib
      gobjectIntrospection vala_0_23 gnome_doc_utils
    ] ++ optional (gtkVersion != null) (if gtkVersion == "2" then gtk2 else gtk3);
  
    postPatch = ''
  
negative.code: { stdenv, fetchurl, lib, file
  , pkgconfig, intltool
  , glib, dbus_glib, json_glib
  , gobjectIntrospection, vala_0_38, gnome_doc_utils
  , gtkVersion ? null, gtk2 ? null, gtk3 ? null }:
  
  with lib;
  