Running nixpkgs-update (https://nix-community.org/update-bot/) with UPDATE_INFO: driversi686Linux.intel-media-driver 26.1.6 -> 26.3.1 https://repology.org/project/intel-media-driver/versions attrpath: driversi686Linux.intel-media-driver Checking auto update branch... No auto update branch exists Old version 26.1.6" not present in master derivation file with contents: { lib, stdenv, fetchFromGitHub, fetchpatch, cmake, pkg-config, libva, libpciaccess, intel-gmmlib, libdrm, enableX11 ? stdenv.hostPlatform.isLinux, libx11, # for passhtru.tests pkgsi686Linux, }: stdenv.mkDerivation (finalAttrs: { pname = "intel-media-driver"; version = "26.2.4"; outputs = [ "out" "dev" ]; src = fetchFromGitHub { owner = "intel"; repo = "media-driver"; tag = "intel-media-${finalAttrs.version}"; hash = "sha256-dgdqezwnwY5FCaDhov0ft4gnhRdCDyD2DFJ17sF2d4o="; }; patches = [ # fix platform detection (fetchpatch { url = "https://salsa.debian.org/multimedia-team/intel-media-driver-non-free/-/raw/7376a99f060c26d6be8e56674da52a61662617b9/debian/patches/0002-Remove-settings-based-on-ARCH.patch"; hash = "sha256-57yePuHWYb3XXrB4MjYO2h6jbqfs4SGTLlLG91el8M4="; }) # cmake 4 compatibility, upstream PR: https://github.com/intel/media-driver/pull/1919 ./cmake4.patch ]; cmakeFlags = [ "-DINSTALL_DRIVER_SYSCONF=OFF" "-DLIBVA_DRIVERS_PATH=${placeholder "out"}/lib/dri" # Works only on hosts with suitable CPUs. "-DMEDIA_RUN_TEST_SUITE=OFF" "-DMEDIA_BUILD_FATAL_WARNINGS=OFF" ]; env.NIX_CFLAGS_COMPILE = lib.optionalString ( stdenv.hostPlatform.system == "i686-linux" ) "-D_FILE_OFFSET_BITS=64"; nativeBuildInputs = [ cmake pkg-config ]; buildInputs = [ libva libpciaccess intel-gmmlib libdrm ] ++ lib.optional enableX11 libx11; postFixup = lib.optionalString enableX11 '' patchelf --set-rpath "$(patchelf --print-rpath $out/lib/dri/iHD_drv_video.so):${lib.makeLibraryPath [ libx11 ]}" \ $out/lib/dri/iHD_drv_video.so ''; passthru.tests = { inherit (pkgsi686Linux) intel-media-driver; }; meta = { description = "Intel Media Driver for VAAPI — Broadwell+ iGPUs"; longDescription = '' The Intel Media Driver for VAAPI is a new VA-API (Video Acceleration API) user mode driver supporting hardware accelerated decoding, encoding, and video post processing for GEN based graphics hardware. ''; homepage = "https://github.com/intel/media-driver"; changelog = "https://github.com/intel/media-driver/releases/tag/intel-media-${finalAttrs.version}"; license = with lib.licenses; [ bsd3 mit ]; platforms = lib.platforms.linux; maintainers = with lib.maintainers; [ SuperSandro2000 ]; }; })