anchor.diff:      pkg-config
       gi-docgen
       gobject-introspection
  +    vala
       wrapGAppsHook4
     ];
   
  
positive.code: 
    mesonFlags = [
      "-Dgtk_doc=true"
    ] ++ lib.optionals stdenv.isDarwin [
      # mremap does not exist on darwin
      "-Dmmap-buffer-backend=false"
  
negative.code: , glib
  , atk
  , gobject-introspection
  , vala
  , wrapGAppsHook4
  }:
  
  stdenv.mkDerivation rec {
    pname = "ghex";
    version = "43.rc";
  
    outputs = [ "out" "dev" "devdoc" ];
  
    src = fetchurl {
      url = "mirror://gnome/sources/ghex/${lib.versions.major version}/${pname}-${version}.tar.xz";
      sha256 = "yGQ+fwmzNkEqj39swLZU2NmysL5cA2W+jYkTHBU9M/M=";
    };
  
    nativeBuildInputs = [
  