anchor.diff:      gettext
       libxslt
       ninja
  +    perl
       po4a
     ];
   
  
positive.code:     curl
      db
      dpkg
      googletest
      lz4
      xz
      zlib
    ];
  
    preConfigure = ''
      cmakeFlagsArray+=(
        "-DCMAKE_INSTALL_LOCALSTATEDIR=$TMPDIR/var"
      )
    '';
  
    cmakeFlags = [
      "-DROOT_GROUP=wheel"
      "-DWITH_DOC=OFF"
      "-DDOCBOOK_XSL=${docbook-xsl}/share/xml/docbook-xsl"
      "-DBERKELEY_DB_INCLUDE_DIRS=${db}/include"
    ];
  
    meta = with stdenv.lib; {
      maintainers = with maintainers; [
  
negative.code: , gettext
  , libxslt
  , ninja
  , perl
  , po4a
  
  , bzip2
  , curl
  , db
  , dpkg
  , gnutls
  , lz4
  , systemd_lib
  , xz
  , zlib
  }:
  
  let
    version = "1.5";
  in
  stdenv.mkDerivation {
    name = "apt-${version}";
  
    src = fetchurl {
      url = "mirror://debian/pool/main/a/apt/apt_${version}.tar.xz";
      sha256 = "7d9a4daf7a4ae87de7ff4b1423e951ce66fe0535944f0774c8890d8f2a23e920";
    };
  
    nativeBuildInputs = [
  