mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-18 13:19:10 +03:00
eec342dd30
Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/intel-media-driver/versions
36 lines
951 B
Nix
36 lines
951 B
Nix
{ stdenv, fetchFromGitHub
|
|
, cmake, pkgconfig
|
|
, libva, libpciaccess, intel-gmmlib, libX11
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "intel-media-driver";
|
|
version = "19.3.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "intel";
|
|
repo = "media-driver";
|
|
rev = "intel-media-${version}";
|
|
sha256 = "1vzh11qr7dwmi3d10nq46k754h3q1yya71nk2jgicaj2mm0ylzx6";
|
|
};
|
|
|
|
cmakeFlags = [
|
|
"-DINSTALL_DRIVER_SYSCONF=OFF"
|
|
"-DLIBVA_DRIVERS_PATH=${placeholder "out"}/lib/dri"
|
|
# Works only on hosts with suitable CPUs.
|
|
"-DMEDIA_RUN_TEST_SUITE=OFF"
|
|
];
|
|
|
|
nativeBuildInputs = [ cmake pkgconfig ];
|
|
|
|
buildInputs = [ libva libpciaccess intel-gmmlib libX11 ];
|
|
|
|
meta = with stdenv.lib; {
|
|
homepage = https://github.com/intel/media-driver;
|
|
license = with licenses; [ bsd3 mit ];
|
|
description = "Intel Media Driver for VAAPI — Broadwell+ iGPUs";
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ jfrankenau ];
|
|
};
|
|
}
|