spdk: init at 18.04

Closes #39138.
This commit is contained in:
Orivej Desh 2018-05-21 01:59:30 +00:00
parent ed465dc7de
commit 66002a0e07
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,31 @@
{ stdenv, fetchFromGitHub, python, cunit, dpdk, libaio, libuuid, numactl, openssl }:
stdenv.mkDerivation rec {
name = "spdk-${version}";
version = "18.04";
src = fetchFromGitHub {
owner = "spdk";
repo = "spdk";
rev = "v${version}";
sha256 = "07i13jkf63h5ld9djksxl445v1mj6m5cbq4xydix9y5qcxwlss3n";
};
nativeBuildInputs = [ python ];
buildInputs = [ cunit dpdk libaio libuuid numactl openssl ];
configureFlags = [ "--with-dpdk=${dpdk}" ];
NIX_CFLAGS_COMPILE = [ "-mssse3" ]; # Necessary to compile.
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "Set of libraries for fast user-mode storage";
homepage = http://www.spdk.io;
license = licenses.bsd3;
platforms = [ "x86_64-linux" ];
maintainers = with maintainers; [ orivej ];
};
}

View File

@ -11632,6 +11632,8 @@ with pkgs;
spatialite_tools = callPackage ../development/libraries/spatialite-tools { };
spdk = callPackage ../development/libraries/spdk { };
speechd = callPackage ../development/libraries/speechd { };
speech-tools = callPackage ../development/libraries/speech-tools {};