summary refs log tree commit diff
path: root/pkgs/development/libraries/embree/2.x.nix
blob: e968e09459a07eebf481c058741a4033201316ba (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
{ stdenv, fetchFromGitHub, cmake, pkgconfig, ispc, tbb, glfw,
openimageio, libjpeg, libpng, libpthreadstubs, libX11
}:

stdenv.mkDerivation {
  pname = "embree";
  version = "2.17.4";

  src = fetchFromGitHub {
    owner = "embree";
    repo = "embree";
    rev = "v2.17.4";
    sha256 = "0q3r724r58j4b6cbyy657fsb78z7a2c7d5mwdp7552skynsn2mn9";
  };

  cmakeFlags = [ "-DEMBREE_TUTORIALS=OFF" ];
  enableParallelBuilding = true;
  
  buildInputs = [ pkgconfig cmake ispc tbb glfw openimageio libjpeg libpng libX11 libpthreadstubs ];
  meta = with stdenv.lib; {
    description = "High performance ray tracing kernels from Intel"; 
    homepage = https://embree.github.io/;
    maintainers = with maintainers; [ hodapp ];
    license = licenses.asl20;
    platforms = platforms.linux;
  };
}