3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/development/libraries/intel-media-driver/default.nix
2019-04-24 16:53:26 -05:00

34 lines
882 B
Nix

{ stdenv, fetchFromGitHub
, cmake, pkgconfig
, libva, libpciaccess, intel-gmmlib, libX11
}:
stdenv.mkDerivation rec {
name = "intel-media-driver-${version}";
version = "19.1.0";
src = fetchFromGitHub {
owner = "intel";
repo = "media-driver";
rev = "intel-media-${version}";
sha256 = "072ry87h1lds14fqb2sfz3n2sssvacamaxv2gj4nd8agnzbwizn7";
};
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 ];
};
}