Martin Weinelt 2023-05-12 22:32:47 +02:00
parent e7d5292187
commit f8cddd7fa8
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -1,25 +1,28 @@
{ lib, stdenv, fetchurl, autoreconfHook, pkg-config
, dpdk, libbpf, libconfig, libpcap, numactl, openssl, zlib, libbsd, libelf, jansson
{ lib
, stdenv
, fetchurl
, autoreconfHook
, pkg-config
, dpdk
, libbpf
, libconfig
, libpcap
, numactl
, openssl
, zlib
, libbsd
, libelf
, jansson
, libnl
}: let
dpdk_19_11 = dpdk.overrideAttrs (old: rec {
version = "19.11.12";
src = fetchurl {
url = "https://fast.dpdk.org/rel/dpdk-${version}.tar.xz";
sha256 = "sha256-F9m2+MZi3n0psPIwjWwhiIbbNkoGlxqtru2OlV7TbzQ=";
};
mesonFlags = old.mesonFlags ++ [
"-Denable_docs=false"
];
});
}:
in stdenv.mkDerivation rec {
stdenv.mkDerivation rec {
pname = "odp-dpdk";
version = "1.37.0.0_DPDK_19.11";
version = "1.41.0.0_DPDK_22.11";
src = fetchurl {
url = "https://git.linaro.org/lng/odp-dpdk.git/snapshot/${pname}-${version}.tar.gz";
sha256 = "sha256-Ai6+6eZJeG0BrwNboBPfgDGkUbCC8lcj7+oxmWjWP2k=";
hash = "sha256-4p+R+7IeDKQFqBzQTvXfR407exxhoS8pnKxF9Qnr8tw=";
};
nativeBuildInputs = [
@ -28,7 +31,7 @@ in stdenv.mkDerivation rec {
];
buildInputs = [
dpdk_19_11
dpdk
libconfig
libpcap
numactl