diff --git a/pkgs/os-specific/linux/r8125/default.nix b/pkgs/os-specific/linux/r8125/default.nix index 8cdf11f80add..30f8da7d5f4c 100644 --- a/pkgs/os-specific/linux/r8125/default.nix +++ b/pkgs/os-specific/linux/r8125/default.nix @@ -4,16 +4,16 @@ stdenv.mkDerivation rec { pname = "r8125"; # On update please verify (using `diff -r`) that the source matches the # realtek version. - version = "9.003.05"; + version = "9.004.01"; # This is a mirror. The original website[1] doesn't allow non-interactive # downloads, instead emailing you a download link. # [1] https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software src = fetchFromGitHub { - owner = "ibmibmibm"; + owner = "louistakepillz"; repo = "r8125"; rev = version; - sha256 = "016vh997xjs01si0zzs572vgflq3czxd0v4m7h1m3qxcv2cvq7i0"; + sha256 = "0h2y4mzydhc7var5281bk2jj1knig6i64k11ii4b94az3g9dbq24"; }; hardeningDisable = [ "pic" ]; @@ -32,12 +32,14 @@ stdenv.mkDerivation rec { buildFlags = [ "modules" ]; meta = with lib; { - homepage = "https://github.com/ibmibmibm/r8125"; + homepage = "https://github.com/louistakepillz/r8125"; downloadPage = "https://www.realtek.com/en/component/zoo/category/network-interface-controllers-10-100-1000m-gigabit-ethernet-pci-express-software"; description = "Realtek r8125 driver"; longDescription = '' A kernel module for Realtek 8125 2.5G network cards. ''; + # r8125 has been integrated into the kernel as of v5.9.1 + broken = lib.versionAtLeast kernel.version "5.9.1"; license = licenses.gpl2Plus; platforms = platforms.linux; maintainers = with maintainers; [ peelz ];