mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 08:23:09 +00:00
31d5f226ee
Versions 2 and 3 of the library do not support linux ARM.
28 lines
786 B
Nix
28 lines
786 B
Nix
{ lib, stdenv, fetchFromGitHub, cmake, pkg-config, 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" ];
|
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
|
buildInputs = [ ispc tbb glfw openimageio libjpeg libpng libX11 libpthreadstubs ];
|
|
meta = with lib; {
|
|
description = "High performance ray tracing kernels from Intel";
|
|
homepage = "https://embree.github.io/";
|
|
maintainers = with maintainers; [ hodapp ];
|
|
license = licenses.asl20;
|
|
platforms = [ "x86_64-linux" ];
|
|
};
|
|
}
|