mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
parent
ed465dc7de
commit
66002a0e07
31
pkgs/development/libraries/spdk/default.nix
Normal file
31
pkgs/development/libraries/spdk/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
@ -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 {};
|
||||
|
Loading…
Reference in New Issue
Block a user