nixpkgs/pkgs/by-name/vp/vpl-gpu-rt/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

39 lines
1002 B
Nix
Raw Normal View History

2024-01-23 14:09:02 -07:00
{ lib
, stdenv
, fetchFromGitHub
, cmake
, pkg-config
, libdrm
, libva
}:
stdenv.mkDerivation rec {
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 {
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";
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;
maintainers = with lib.maintainers; [ evanrichter pjungkamp ];
2024-01-23 14:09:02 -07:00
};
}