8 stdenv.mkDerivation rec {
9 pname = "ipu6-drivers";
10 version = "unstable-2024-11-19";
12 src = fetchFromGitHub {
14 repo = "ipu6-drivers";
15 rev = "0ad4988248d7e9382498a0b47fc78bb990b29a58";
16 hash = "sha256-UFvwuoAzwk1k4YiUK+4EeMKeTx9nVvBgBN5JKAfqZkQ=";
20 "${src}/patches/0001-v6.10-IPU6-headers-used-by-PSYS.patch"
24 cp --no-preserve=mode --recursive --verbose \
25 ${ivsc-driver.src}/backport-include \
26 ${ivsc-driver.src}/drivers \
27 ${ivsc-driver.src}/include \
31 nativeBuildInputs = kernel.moduleBuildDependencies;
33 makeFlags = kernel.makeFlags ++ [
34 "KERNELRELEASE=${kernel.modDirVersion}"
35 "KERNEL_SRC=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
38 enableParallelBuilding = true;
41 sed -i -e "s,INSTALL_MOD_DIR=,INSTALL_MOD_PATH=$out INSTALL_MOD_DIR=," Makefile
49 homepage = "https://github.com/intel/ipu6-drivers";
50 description = "IPU6 kernel driver";
51 license = lib.licenses.gpl2Only;
53 platforms = [ "x86_64-linux" ];
55 broken = kernel.kernelOlder "6.10";