9 hash = "sha256-VE6sCehjXlRuOVcK4EN2H+FhaVaBi/jrAYx4TZjbreA=";
12 name = "system76-io-module-${version}-${kernel.version}";
14 passthru.moduleName = "system76_io";
16 src = fetchFromGitHub {
18 repo = "system76-io-dkms";
23 hardeningDisable = [ "pic" ];
25 nativeBuildInputs = kernel.moduleBuildDependencies;
28 "KERNEL_DIR=${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"
32 install -D system76-io.ko $out/lib/modules/${kernel.modDirVersion}/misc/system76-io.ko
36 maintainers = with lib.maintainers; [ ahoneybun ];
37 license = lib.licenses.gpl2Plus;
43 broken = lib.versionOlder kernel.version "5.10";
44 description = "DKMS module for controlling System76 Io board";
45 homepage = "https://github.com/pop-os/system76-io-dkms";