From f8cddd7fa8abf8382d9b6aeda603bec8932f0f56 Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Fri, 12 May 2023 22:32:47 +0200 Subject: [PATCH] odp-dpdk: 1.37.0.0_DPDK_19.11 -> 1.41.0.0_DPDK_22.11 https://github.com/OpenDataPlane/odp/releases/tag/v1.38.0.0 https://github.com/OpenDataPlane/odp/releases/tag/v1.39.0.0 https://github.com/OpenDataPlane/odp/releases/tag/v1.40.0.0 https://github.com/OpenDataPlane/odp/releases/tag/v1.41.0.0 --- pkgs/os-specific/linux/odp-dpdk/default.nix | 37 +++++++++++---------- 1 file changed, 20 insertions(+), 17 deletions(-) diff --git a/pkgs/os-specific/linux/odp-dpdk/default.nix b/pkgs/os-specific/linux/odp-dpdk/default.nix index b6f27c5b3c24..5c8cd9efc986 100644 --- a/pkgs/os-specific/linux/odp-dpdk/default.nix +++ b/pkgs/os-specific/linux/odp-dpdk/default.nix @@ -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