9 stdenv.mkDerivation (finalAttrs: {
13 src = fetchFromGitHub {
14 owner = "OpenPathGuidingLibrary";
16 rev = "v${finalAttrs.version}";
17 hash = "sha256-dbHmGGiHQkU0KPpQYpY/o0uCWdb3L5namETdOcOREgs=";
30 "-DOPENPGL_BUILD_STATIC=OFF"
31 "-DTBB_ROOT=${tbb.out}"
34 env.NIX_CFLAGS_COMPILE = lib.optionalString (stdenv.isAarch64 && !stdenv.isDarwin) "-flax-vector-conversions";
37 description = "Intel Open Path Guiding Library";
38 homepage = "https://github.com/OpenPathGuidingLibrary/openpgl";
39 platforms = lib.platforms.unix;
40 maintainers = [ lib.maintainers.amarshall ];
41 license = lib.licenses.asl20;