anchor.diff:  { lib, stdenv, fetchFromGitHub
  +, installShellFiles
   , boost, zlib, openssl
   , upnpSupport ? true, miniupnpc ? null
   , aesniSupport ? stdenv.hostPlatform.aesSupport
  
positive.code: 
    installPhase = ''
      install -D i2pd $out/bin/i2pd
    '';
  
    meta = with lib; {
  
negative.code:   buildInputs = with lib; [ boost zlib openssl ]
      ++ optional upnpSupport miniupnpc;
  
    nativeBuildInputs = [
      installShellFiles
    ];
  
    makeFlags =
      let ynf = a: b: a + "=" + (if b then "yes" else "no"); in
      [ (ynf "USE_AESNI" aesniSupport)
  