10 stdenv.mkDerivation rec {
14 outputs = [ "out" "dev" ];
16 src = fetchFromGitHub {
19 rev = "intel-onevpl-${version}";
20 hash = "sha256-WYlA8+i8TTFHsU4+doLcv75F9MR2V/BEuNGGLgM4p1s=";
23 nativeBuildInputs = [ cmake pkg-config ];
25 buildInputs = [ libdrm libva ];
28 description = "oneAPI Video Processing Library Intel GPU implementation";
29 homepage = "https://github.com/intel/vpl-gpu-rt";
30 changelog = "https://github.com/intel/vpl-gpu-rt/releases/tag/${src.rev}";
31 license = [ lib.licenses.mit ];
32 platforms = lib.platforms.linux;
33 # CMake adds x86 specific compiler flags in <source>/builder/FindGlobals.cmake
34 # NOTE: https://github.com/oneapi-src/oneVPL-intel-gpu/issues/303
35 broken = !stdenv.hostPlatform.isx86;
36 maintainers = with lib.maintainers; [ evanrichter pjungkamp ];