2020-12-31 07:48:55 +00:00
|
|
|
{ stdenv, fetchFromGitHub, cmake, pkg-config, ispc, tbb, glfw,
|
2018-06-20 15:44:40 +01:00
|
|
|
openimageio, libjpeg, libpng, libpthreadstubs, libX11
|
|
|
|
}:
|
|
|
|
|
2019-08-13 22:52:01 +01:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "embree";
|
2018-06-20 15:44:40 +01:00
|
|
|
version = "2.17.4";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "embree";
|
|
|
|
repo = "embree";
|
|
|
|
rev = "v2.17.4";
|
|
|
|
sha256 = "0q3r724r58j4b6cbyy657fsb78z7a2c7d5mwdp7552skynsn2mn9";
|
|
|
|
};
|
|
|
|
|
|
|
|
cmakeFlags = [ "-DEMBREE_TUTORIALS=OFF" ];
|
2020-12-31 07:48:55 +00:00
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
|
|
|
buildInputs = [ ispc tbb glfw openimageio libjpeg libpng libX11 libpthreadstubs ];
|
2018-06-20 15:44:40 +01:00
|
|
|
meta = with stdenv.lib; {
|
2020-12-31 07:48:55 +00:00
|
|
|
description = "High performance ray tracing kernels from Intel";
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://embree.github.io/";
|
2018-06-20 15:44:40 +01:00
|
|
|
maintainers = with maintainers; [ hodapp ];
|
|
|
|
license = licenses.asl20;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
};
|
|
|
|
}
|