Unverified Commit 562f7285 authored by Jörg Thalheim's avatar Jörg Thalheim Committed by GitHub
Browse files

Add intel-ipsec-mb to dpdk (#455170)

parents 1040bc41 4fd550b3
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -11,6 +11,7 @@
  libbpf,
  zlib,
  elfutils,
  intel-ipsec-mb,
  jansson,
  openssl,
  libpcap,
@@ -54,6 +55,7 @@ stdenv.mkDerivation rec {
    jansson
    libbpf
    elfutils
    intel-ipsec-mb
    libpcap
    numactl
    openssl.dev
+41 −0
Original line number Diff line number Diff line
{
  lib,
  stdenv,
  fetchFromGitHub,
  nasm,
}:

stdenv.mkDerivation rec {
  pname = "intel-ipsec-mb";
  version = "2.0.1";

  src = fetchFromGitHub {
    owner = "intel";
    repo = "intel-ipsec-mb";
    rev = "v${version}";
    hash = "sha256-k/NoPMKbiWZ25tdomsPpv2gfhQuBHxzX6KRT1UY88Ko=";
  };

  sourceRoot = "source/lib";

  nativeBuildInputs = [ nasm ];

  makeFlags = [
    "PREFIX=$(out)"
    "NOLDCONFIG=y"
  ];

  meta = with lib; {
    description = "Intel Multi-Buffer Crypto for IPsec Library";
    longDescription = ''
      Intel Multi-Buffer Crypto for IPsec Library provides software crypto
      acceleration primarily targeting packet processing applications.
      It supports a variety of use cases including IPsec, TLS, wireless (RAN), cable,
      and MPEG DRM.
    '';
    homepage = "https://github.com/intel/intel-ipsec-mb";
    license = licenses.bsd3;
    platforms = [ "x86_64-linux" ];
    maintainers = [ ];
  };
}