1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-24 06:31:02 +00:00
nixpkgs/pkgs/os-specific/linux/odp-dpdk/default.nix
2017-09-08 18:33:39 -07:00

39 lines
945 B
Nix

{ stdenv, fetchgit, autoreconfHook, openssl, libpcap, dpdk }:
stdenv.mkDerivation rec {
name = "odp-dpdk-${version}";
version = "1.15.0.0";
src = fetchgit {
url = "https://git.linaro.org/lng/odp-dpdk.git";
rev = "d8533b4e575d62c9f6f2caedd38d98a1a56fb8d3";
sha256 = "1p09rw7dxxqcxxrdb8wbwp2imapyjvdbvap7s9km2i9hbd8ipdif";
};
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ openssl dpdk libpcap ];
RTE_SDK = "${dpdk}";
RTE_TARGET = "x86_64-native-linuxapp-gcc";
dontDisableStatic = true;
configureFlags = [
"--disable-shared"
"--with-sdk-install-path=${dpdk}/${RTE_TARGET}"
];
patches = [
./configure.patch
./odp_crypto.patch
];
meta = with stdenv.lib; {
description = "Open Data Plane optimized for DPDK";
homepage = http://www.opendataplane.org;
license = licenses.bsd3;
platforms = [ "x86_64-linux" ];
maintainers = [ maintainers.abuibrahim ];
};
}