anchor.diff:      ./4.x-fix-makeflags-parsing.patch
     ];
   
  -  nativeBuildInputs = [ pkgconfig perl perl.pkgs.ParseYapp libxslt docbook_xsl docbook_xml_dtd_42 ]
  -  ++ optionals stdenv.isDarwin [ rpcgen fixDarwinDylibNames ];
  +  nativeBuildInputs = [
  +    pkgconfig
  +    perl
  +    perl.pkgs.ParseYapp
  +    libxslt
  +    docbook_xsl
  +    docbook_xml_dtd_42
  +  ] ++ optionals stdenv.isDarwin [
  +    rpcgen
  +    fixDarwinDylibNames
  +  ];
   
     buildInputs = [
  -    python readline popt iniparser jansson
  -    libbsd libarchive zlib fam libiconv gettext libunwind krb5Full gnutls
  +    python
  +    readline
  +    popt
  +    iniparser
  +    jansson
  +    libbsd
  +    libarchive
  +    zlib
  +    fam
  +    libiconv
  +    gettext
  +    libunwind
  +    krb5Full
  +    gnutls
     ] ++ optionals stdenv.isLinux [ libaio liburing systemd ]
       ++ optional enableLDAP openldap
       ++ optional (enablePrinting && stdenv.isLinux) cups
  
positive.code: { lib, stdenv, fetchurl, python, pkgconfig, perl, libxslt, docbook_xsl, rpcgen
  , fixDarwinDylibNames
  , docbook_xml_dtd_42, readline
  , popt, iniparser, libbsd, libarchive, libiconv, gettext
  , krb5Full, zlib, openldap, cups, pam, avahi, acl, libaio, liburing, fam, libceph, glusterfs
  , gnutls, ncurses, libunwind, systemd, jansson, lmdb, gpgme, libuuid
  
  , enableLDAP ? false
  , enablePrinting ? false
  
negative.code:     "--with-static-modules=NONE"
      "--with-shared-modules=ALL"
      "--with-system-mitkrb5"
      "--with-system-mitkdc=${krb5Full}"
      "--enable-fhs"
      "--sysconfdir=/etc"
      "--localstatedir=/var"
  