2024-01-23 14:09:02 -07:00
|
|
|
{ lib
|
|
|
|
, stdenv
|
|
|
|
, fetchFromGitHub
|
|
|
|
, cmake
|
|
|
|
, pkg-config
|
|
|
|
, libdrm
|
|
|
|
, libva
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2024-06-04 05:59:26 -06:00
|
|
|
pname = "vpl-gpu-rt";
|
2024-10-15 02:51:10 -06:00
|
|
|
version = "24.3.3";
|
2024-01-23 14:09:02 -07:00
|
|
|
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
2024-06-04 05:59:26 -06:00
|
|
|
owner = "intel";
|
|
|
|
repo = "vpl-gpu-rt";
|
2024-01-23 14:09:02 -07:00
|
|
|
rev = "intel-onevpl-${version}";
|
2024-10-15 02:51:10 -06:00
|
|
|
hash = "sha256-aTVSkkSQmcnRcx1J0zqdT6Z6f2GQVRTR8b2JFov6DFE=";
|
2024-01-23 14:09:02 -07:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
|
|
|
|
|
|
|
buildInputs = [ libdrm libva ];
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "oneAPI Video Processing Library Intel GPU implementation";
|
2024-06-04 05:59:26 -06:00
|
|
|
homepage = "https://github.com/intel/vpl-gpu-rt";
|
|
|
|
changelog = "https://github.com/intel/vpl-gpu-rt/releases/tag/${src.rev}";
|
2024-01-23 14:09:02 -07:00
|
|
|
license = [ lib.licenses.mit ];
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
# CMake adds x86 specific compiler flags in <source>/builder/FindGlobals.cmake
|
|
|
|
# NOTE: https://github.com/oneapi-src/oneVPL-intel-gpu/issues/303
|
|
|
|
broken = !stdenv.hostPlatform.isx86;
|
2024-06-04 13:27:45 -06:00
|
|
|
maintainers = with lib.maintainers; [ evanrichter pjungkamp ];
|
2024-01-23 14:09:02 -07:00
|
|
|
};
|
|
|
|
}
|