anchor.diff:        --replace 'armv5' 'armv6'
     '';
   
  -
  -  nativeBuildInputs = [ ronn ];
  -  buildInputs = [ openssl lzo zlib iproute2 ];
  +  nativeBuildInputs = [
  +    pkg-config
  +    ronn
  +    rustPlatform.cargoSetupHook
  +    rustPlatform.rust.cargo
  +    rustPlatform.rust.rustc
  +  ];
  +  buildInputs = [
  +    iproute2
  +    lzo
  +    openssl
  +    zlib
  +  ];
   
     enableParallelBuilding = true;
   
  
positive.code: { lib, stdenv, buildPackages, fetchFromGitHub, openssl, lzo, zlib, iproute2, ronn }:
  
  stdenv.mkDerivation rec {
    pname = "zerotierone";
    version = "1.8.4";
  
    src = fetchFromGitHub {
      owner = "zerotier";
      repo = "ZeroTierOne";
      rev = version;
      sha256 = "sha256-aM0FkcrSd5dEJVdJryIGuyWNFwvKH0SBfOuy4dIMK4A=";
    };
  
    preConfigure = ''
      patchShebangs ./doc/build.sh
  
negative.code: 
    doCheck = stdenv.hostPlatform == stdenv.buildPlatform;
    checkPhase = ''
      runHook preCheck
      ./zerotier-selftest
      runHook postCheck
    '';
  
    installFlags = [ "DESTDIR=$$out/upstream" ];
  
    postInstall = ''
      mv $out/upstream/usr/sbin $out/bin
  
      mkdir -p $man/share
      mv $out/upstream/usr/share/man $man/share/man
  
      rm -rf $out/upstream
    '';
  
    outputs = [ "out" "man" ];
  