anchor.diff:      libxml2
       lz4
       lzo
  +    openssl
       pcre
  -    openssl
       xz
       zlib
  +    zstd
     ];
   
     postPatch = ''
  
positive.code: , libxml2
  , lz4
  , lzo
  , pcre
  , openssl
  , xz
  , zlib
  }:
  
  stdenv.mkDerivation rec {
    name = "libarchive-2017-07-09";
  
    src = fetchFromGitHub {
      version = 3;
      owner = "libarchive";
      repo = "libarchive";
      rev = "347ac2b6adfd4bca7418d30d7278d5343fc6e25e";
      sha256 = "f00151d630a8e509703e8e207f37d3ad472f5a3385639a6550bdd6c4fb86dfcc";
    };
  
    nativeBuildInputs = [
  
negative.code:     "--with-lz4"
      "--with-lzma"
      "--with-lzo2"
      "--with-zstd"
      "--without-nettle"
      "--with-openssl"
      "--with-xml2"
  