nixpkgs/pkgs/development/libraries/intel-media-driver/default.nix
Will Dietz 347fa8611f intel-media-driver: 18.4.0 -> 18.4.1
Minor bump, adds various missing id's apparently.
2019-02-12 07:20:26 -06:00

33 lines
882 B
Nix

{ stdenv, fetchFromGitHub
, cmake, pkgconfig
, libva, libpciaccess, intel-gmmlib, libX11
}:
stdenv.mkDerivation rec {
name = "intel-media-driver-${version}";
version = "18.4.1";
src = fetchFromGitHub {
owner = "intel";
repo = "media-driver";
rev = "intel-media-${version}";
sha256 = "192rfv6dk9jagx0q92jq6n1slc1pllgcc7rm85fgachq9rjl7szh";
};
cmakeFlags = [
"-DINSTALL_DRIVER_SYSCONF=OFF"
"-DLIBVA_DRIVERS_PATH=${placeholder "out"}/lib/dri"
];
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 ];
};
}