ofp: init at 2.0.0

+42
+40
pkgs/os-specific/linux/ofp/default.nix
··· 1 + { stdenv, fetchFromGitHub, pkgconfig, autoreconfHook 2 + , openssl, libpcap, odp-dpdk, dpdk 3 + }: 4 + 5 + stdenv.mkDerivation rec { 6 + name = "ofp-${version}"; 7 + version = "2.0.0"; 8 + 9 + src = fetchFromGitHub { 10 + owner = "OpenFastPath"; 11 + repo = "ofp"; 12 + rev = "${version}"; 13 + sha256 = "05902593fycgkwzk5g7wzgk0k40nrrgybplkdka3rqnlj6aydhqf"; 14 + }; 15 + 16 + nativeBuildInputs = [ pkgconfig autoreconfHook ]; 17 + buildInputs = [ openssl libpcap odp-dpdk dpdk ]; 18 + 19 + dontDisableStatic = true; 20 + 21 + postPatch = '' 22 + substituteInPlace configure.ac --replace m4_esyscmd m4_esyscmd_s 23 + substituteInPlace scripts/git_hash.sh --replace /bin/bash /bin/sh 24 + echo ${version} > .scmversion 25 + ''; 26 + 27 + configureFlags = [ 28 + "--with-odp=${odp-dpdk}" 29 + "--with-odp-lib=odp-dpdk" 30 + "--disable-shared" 31 + ]; 32 + 33 + meta = with stdenv.lib; { 34 + description = "High performance TCP/IP stack"; 35 + homepage = http://www.openfastpath.org; 36 + license = licenses.bsd3; 37 + platforms = [ "x86_64-linux" ]; 38 + maintainers = [ maintainers.abuibrahim ]; 39 + }; 40 + }
+2
pkgs/top-level/all-packages.nix
··· 11197 11197 11198 11198 odp-dpdk = callPackage ../os-specific/linux/odp-dpdk { }; 11199 11199 11200 + ofp = callPackage ../os-specific/linux/ofp { }; 11201 + 11200 11202 e1000e = callPackage ../os-specific/linux/e1000e {}; 11201 11203 11202 11204 ixgbevf = callPackage ../os-specific/linux/ixgbevf {};