anchor.diff:    ++ lib.optional (mod && kernel.kernelOlder "5.11") "-Ddisable_drivers=kni"
     ++ lib.optional (!shared) "-Ddefault_library=static"
     ++ lib.optional stdenv.isx86_64 "-Dmachine=nehalem"
  -  ++ lib.optional mod "-Dkernel_dir=${placeholder "kmod"}/lib/modules/${kernel.modDirVersion}";
  +  ++ lib.optional mod "-Dkernel_dir=${placeholder "kmod"}/lib/modules/${kernel.modDirVersion}"
  +  ++ lib.optional (withExamples != []) "-Dexamples=${builtins.concatStringsSep "," withExamples}";
   
     # dpdk meson script does not support separate kernel source and installion
     # dirs (except via destdir), so we temporarily link the former into the latter.
  
positive.code: , pkg-config, meson, ninja
  , libbsd, numactl, libbpf, zlib, libelf, jansson, openssl, libpcap
  , doxygen, python3
  , shared ? false }:
  
  let
  
negative.code:     homepage = "http://dpdk.org/";
      license = with licenses; [ lgpl21 gpl2 bsd2 ];
      platforms =  platforms.linux;
      maintainers = with maintainers; [ magenbluten orivej mic92 zhaofengli ];
    };
  }
  