mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 06:14:57 +01:00
2641d97cbf
Reproduction script: # Bulk rewrite ./maintainers/scripts/sha-to-sri.py pkgs/by-name # Revert some packages which will need manual intervention for n in amdvlk azure-cli cargo-profiler corefonts flatito fluxcd gist perf_data_converter protoc-gen-js solana-cli swt verible; do git checkout -- "pkgs/by-name/${n:0:2}/${n}" done
38 lines
1,002 B
Nix
38 lines
1,002 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, pkg-config
|
|
, libdrm
|
|
, libva
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "vpl-gpu-rt";
|
|
version = "24.2.5";
|
|
|
|
outputs = [ "out" "dev" ];
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "intel";
|
|
repo = "vpl-gpu-rt";
|
|
rev = "intel-onevpl-${version}";
|
|
hash = "sha256-WYlA8+i8TTFHsU4+doLcv75F9MR2V/BEuNGGLgM4p1s=";
|
|
};
|
|
|
|
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 ];
|
|
};
|
|
}
|