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