mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-19 02:44:17 +03:00
commit
8dec9c8797
@ -1,41 +0,0 @@
|
||||
{ lib, stdenv, fetchFromGitHub, pkg-config, autoreconfHook
|
||||
, openssl, libpcap, odp-dpdk, dpdk
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "ofp";
|
||||
version = "2.0.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "OpenFastPath";
|
||||
repo = "ofp";
|
||||
rev = version;
|
||||
sha256 = "05902593fycgkwzk5g7wzgk0k40nrrgybplkdka3rqnlj6aydhqf";
|
||||
};
|
||||
|
||||
nativeBuildInputs = [ pkg-config autoreconfHook ];
|
||||
buildInputs = [ openssl libpcap odp-dpdk dpdk ];
|
||||
|
||||
dontDisableStatic = true;
|
||||
|
||||
postPatch = ''
|
||||
substituteInPlace configure.ac --replace m4_esyscmd m4_esyscmd_s
|
||||
substituteInPlace scripts/git_hash.sh --replace /bin/bash ${stdenv.shell}
|
||||
echo ${version} > .scmversion
|
||||
'';
|
||||
|
||||
configureFlags = [
|
||||
"--with-odp=${odp-dpdk}"
|
||||
"--with-odp-lib=odp-dpdk"
|
||||
"--disable-shared"
|
||||
];
|
||||
|
||||
meta = with lib; {
|
||||
description = "High performance TCP/IP stack";
|
||||
homepage = "http://www.openfastpath.org";
|
||||
license = licenses.bsd3;
|
||||
platforms = [ "x86_64-linux" ];
|
||||
maintainers = [ maintainers.abuibrahim ];
|
||||
broken = true;
|
||||
};
|
||||
}
|
@ -528,6 +528,7 @@ mapAliases ({
|
||||
oauth2_proxy = oauth2-proxy; # added 2021-04-18
|
||||
opencascade_oce = opencascade; # added 2018-04-25
|
||||
oblogout = throw "oblogout has been removed from nixpkgs, as it's archived upstream."; # added 2019-12-10
|
||||
ofp = throw "ofp is not compatible with odp-dpdk";
|
||||
opencl-icd = ocl-icd; # added 2017-01-20
|
||||
openconnect_pa = throw "openconnect_pa fork has been discontinued, support for GlobalProtect is now available in openconnect"; # added 2021-05-21
|
||||
openexr_ctl = ctl; # added 2018-04-25
|
||||
|
@ -21625,8 +21625,6 @@ in
|
||||
|
||||
odroid-xu3-bootloader = callPackage ../tools/misc/odroid-xu3-bootloader { };
|
||||
|
||||
ofp = callPackage ../os-specific/linux/ofp { };
|
||||
|
||||
ofono = callPackage ../tools/networking/ofono { };
|
||||
|
||||
openpam = callPackage ../development/libraries/openpam { };
|
||||
|
Loading…
Reference in New Issue
Block a user