10 stdenv.mkDerivation (finalAttrs: {
14 src = fetchFromGitHub {
15 owner = "OpenPathGuidingLibrary";
17 rev = "v${finalAttrs.version}";
18 hash = "sha256-HX3X1dmOazUUiYCqa6irpNm37YthB2YHb8u1P1qDHco=";
31 "-DOPENPGL_BUILD_STATIC=OFF"
32 "-DTBB_ROOT=${tbb.out}"
35 env.NIX_CFLAGS_COMPILE = lib.optionalString (
36 stdenv.hostPlatform.isAarch64 && !stdenv.hostPlatform.isDarwin
37 ) "-flax-vector-conversions";
40 description = "Intel Open Path Guiding Library";
41 homepage = "https://github.com/OpenPathGuidingLibrary/openpgl";
42 platforms = lib.platforms.unix;
43 maintainers = [ lib.maintainers.amarshall ];
44 license = lib.licenses.asl20;