mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-13 09:13:17 +00:00
39 lines
1002 B
Nix
39 lines
1002 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, pkg-config
|
|
, libdrm
|
|
, libva
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "vpl-gpu-rt";
|
|
version = "24.3.3";
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "intel";
|
|
repo = "vpl-gpu-rt";
|
|
rev = "intel-onevpl-${version}";
|
|
hash = "sha256-aTVSkkSQmcnRcx1J0zqdT6Z6f2GQVRTR8b2JFov6DFE=";
|
|
};
|
|
|
|
nativeBuildInputs = [ cmake pkg-config ];
|
|
|
|
buildInputs = [ libdrm libva ];
|
|
|
|
meta = {
|
|
description = "oneAPI Video Processing Library Intel GPU implementation";
|
|
homepage = "https://github.com/intel/vpl-gpu-rt";
|
|
changelog = "https://github.com/intel/vpl-gpu-rt/releases/tag/${src.rev}";
|
|
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;
|
|
maintainers = with lib.maintainers; [ evanrichter pjungkamp ];
|
|
};
|
|
}
|