11 version = "${kernel.version}-unstable-2024-06-09";
13 src = fetchFromGitHub {
15 repo = "88x2bu-20210702";
16 rev = "62f3a86a2687fe98bd441e0aff5adf87d95c238a";
17 hash = "sha256-gQWk1nhtT0W2dY5uQitWabBGEDfZpmJAoJg+j2ndO00=";
20 hardeningDisable = [ "pic" ];
22 nativeBuildInputs = [ bc ] ++ kernel.moduleBuildDependencies;
23 makeFlags = kernel.makeFlags;
26 substituteInPlace ./Makefile \
27 --replace /lib/modules/ "${kernel.dev}/lib/modules/" \
28 --replace /sbin/depmod \# \
29 --replace '$(MODDESTDIR)' "$out/lib/modules/${kernel.modDirVersion}/kernel/net/wireless/"
33 mkdir -p "$out/lib/modules/${kernel.modDirVersion}/kernel/net/wireless/"
36 enableParallelBuilding = true;
39 description = "Realtek rtl88x2bu driver";
40 homepage = "https://github.com/morrownr/88x2bu-20210702";
41 license = licenses.gpl2Only;
42 platforms = platforms.linux;
43 maintainers = with maintainers; [ otavio ];