anchor.diff:    outputs = [ "out" "dev" "devdoc" ];
   
     propagatedBuildInputs = [ glib ];
  -  nativeBuildInputs = [ pkgconfig gettext libxslt docbook_xsl docbook_xml_dtd_42 libintl gobject-introspection vala gtk-doc ];
  +  nativeBuildInputs = [
  +    pkgconfig gettext libxslt docbook_xsl docbook_xml_dtd_42 libintl
  +    gobject-introspection vala gtk-doc
  +  ];
     buildInputs = [ libgcrypt ];
     # optional: build docs with gtk-doc? (probably needs a flag as well)
   
  
positive.code: { stdenv, fetchurl, fetchpatch, glib, pkgconfig, gettext, libxslt, python3, docbook_xsl, docbook_xml_dtd_42
  , libgcrypt, gobject-introspection, vala, gtk-doc, gnome3, gjs, libintl, dbus, xvfb_run }:
  
  stdenv.mkDerivation rec {
    pname = "libsecret";
  
negative.code: 
    enableParallelBuilding = true;
  
    installCheckInputs = [
      python3 python3.pkgs.dbus-python python3.pkgs.pygobject3 xvfb_run dbus gjs
    ];
  
    # needs to run after install because typelibs point to absolute paths
    doInstallCheck = false; # Failed to load shared library '/force/shared/libmock_service.so.0' referenced by the typelib
  