anchor.diff:      ++ (with ocamlPackages; [ ocaml findlib ]);
     buildInputs = [
       ncurses jansson
  -    pcre augeas libxml2 acl libcap libcap_ng libconfig
  +    pcre2 augeas libxml2 acl libcap libcap_ng libconfig
       systemd fuse yajl libvirt gmp readline file hivex db
       numactl libapparmor perlPackages.ModuleBuild
       libtirpc
  
positive.code: { lib, stdenv, fetchurl, fetchpatch, pkg-config, autoreconfHook, makeWrapper
  , ncurses, cpio, gperf, cdrkit, flex, bison, qemu, pcre, augeas, libxml2
  , acl, libcap, libcap_ng, libconfig, systemd, fuse, yajl, libvirt, hivex, db
  , gmp, readline, file, numactl, libapparmor, jansson
  , getopt, perlPackages, ocamlPackages
  
negative.code: 
  stdenv.mkDerivation rec {
    pname = "libguestfs";
    version = "1.46.2";
  
    src = fetchurl {
      url = "https://libguestfs.org/download/${lib.versions.majorMinor version}-stable/${pname}-${version}.tar.gz";
      sha256 = "0sq092irlj2jf64m7hjx23hn5k4iypqxmlyn9g2z0q0xab56ksp6";
    };
  
    strictDeps = true;
  