Merge pull request #268619 from tweag/lib-descriptions
[NixPkgs.git] / pkgs / development / libraries / embree / 2.x.nix
blob45f423659195fef1d26e7b6dd1c2cb670feb6d3c
1 { lib, stdenv, fetchFromGitHub, cmake, pkg-config, ispc, tbb, glfw,
2 openimageio, libjpeg, libpng, libpthreadstubs, libX11
3 }:
5 stdenv.mkDerivation {
6   pname = "embree";
7   version = "2.17.4";
9   src = fetchFromGitHub {
10     owner = "embree";
11     repo = "embree";
12     rev = "v2.17.4";
13     sha256 = "0q3r724r58j4b6cbyy657fsb78z7a2c7d5mwdp7552skynsn2mn9";
14   };
16   cmakeFlags = [ "-DEMBREE_TUTORIALS=OFF" ];
18   nativeBuildInputs = [ cmake pkg-config ];
19   buildInputs = [ ispc tbb glfw openimageio libjpeg libpng libX11 libpthreadstubs ];
20   meta = with lib; {
21     description = "High performance ray tracing kernels from Intel";
22     homepage = "https://embree.github.io/";
23     maintainers = with maintainers; [ hodapp ];
24     license = licenses.asl20;
25     platforms = [ "x86_64-linux" ];
26   };