forked from mirrors/nixpkgs
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
This commit is contained in:
parent
e7d5292187
commit
f8cddd7fa8
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue