depot/third_party/nixpkgs/pkgs/by-name/vp/vpl-gpu-rt/package.nix
Default email bcb2f287e1 Project import generated by Copybara.
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
2024-06-20 20:27:18 +05:30

38 lines
1,004 B
Nix

{ lib
, stdenv
, fetchFromGitHub
, cmake
, pkg-config
, libdrm
, libva
}:
stdenv.mkDerivation rec {
pname = "vpl-gpu-rt";
version = "24.2.3";
outputs = [ "out" "dev" ];
src = fetchFromGitHub {
owner = "intel";
repo = "vpl-gpu-rt";
rev = "intel-onevpl-${version}";
sha256 = "sha256-n2lkt7zRlpbPedNxa21EQvFdYyOAPF//TsY4srbGHQE=";
};
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 ];
};
}