anchor.diff:  { stdenv, fetchurl, pkgconfig, autoreconfHook, makeWrapper
  -, perlPackages, libxml2 }:
  +, perlPackages, libxml2, libiconv }:
   
   stdenv.mkDerivation rec {
     name = "hivex-${version}";
  
positive.code:   nativeBuildInputs = [ pkgconfig ];
    buildInputs = [
      autoreconfHook makeWrapper libxml2
    ] ++ (with perlPackages; [ perl IOStringy ]);
  
    postInstall = ''
      for bin in $out/bin/*; do
        wrapProgram "$bin" --prefix "PATH" : "$out/bin"
      done
    '';
  
    meta = with stdenv.lib; {
  
negative.code:     license = licenses.lgpl2;
      homepage = https://github.com/libguestfs/hivex;
      maintainers = with maintainers; [offline];
      platforms = platforms.linux ++ platforms.darwin;
    };
  }
  