anchor.diff:  , libunwind
   , systemd
   , jansson
  +, libtasn1
  +, tdb
  +, cmocka
   
   , enableLDAP ? false, openldap
   , enablePrinting ? false, cups
  
positive.code: 
    nativeBuildInputs = [
      pkgconfig
      perl
      perl.pkgs.ParseYapp
      libxslt
      docbook_xsl
      docbook_xml_dtd_42
    ] ++ optionals stdenv.isDarwin [
      rpcgen
      fixDarwinDylibNames
  
negative.code:     libunwind
      krb5Full
      gnutls
      libtasn1
      tdb
    ] ++ optionals stdenv.isLinux [ liburing systemd ]
      ++ optional enableLDAP openldap
      ++ optional (enablePrinting && stdenv.isLinux) cups
  