anchor.diff:      patch_docbook doc/adcli-docs.xml
     '';
   
  -  nativeBuildInputs = [ autoreconfHook pkg-config docbook_xsl ];
  -
  -  buildInputs = [ openldap libkrb5 libxslt cyrus_sasl util-linux xmlto docbook_xsl ];
  -
  -  configureFlags = [ "--disable-debug" ];
  -
     meta = with lib; {
       homepage = "https://www.freedesktop.org/software/realmd/adcli/adcli.html";
       description = "A helper library and tools for Active Directory client operations.";
  
positive.code:     sha256 = "sha256-dipNKlIdc1DpXLg/YJjUxZlNoMFy+rt8Y/+AfWFA4dE=";
    };
  
    postPatch = ''
      substituteInPlace tools/Makefile.am \
        --replace 'sbin_PROGRAMS' 'bin_PROGRAMS'
  
negative.code:         --replace 'http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl' \
                    '${docbook_xsl}/xml/xsl/docbook/manpages/docbook.xsl'
  
      function patch_docbook() {
        substituteInPlace $1 \
          --replace "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" \
                    "${docbook_xml_dtd_43}/xml/dtd/docbook/docbookx.dtd"
  