linuxPackages.r8168: 8.048.03 -> 8.052.01

This commit is contained in:
jerrita 2024-02-24 18:11:53 +08:00
parent 758e589e5d
commit ef22d82d56
No known key found for this signature in database
GPG key ID: 1849997FACD8B4B6

View file

@ -6,18 +6,18 @@ let modDestDir = "$out/lib/modules/${kernel.modDirVersion}/kernel/drivers/net/wi
in stdenv.mkDerivation rec {
name = "r8168-${kernel.version}-${version}";
# on update please verify that the source matches the realtek version
version = "8.048.03";
version = "8.052.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
# I've verified manually (`diff -r`) that the source code for version 8.046.00
# I've verified manually (`diff -r`) that the source code for version 8.052.01
# is the same as the one available on the realtek website.
src = fetchFromGitHub {
owner = "mtorromeo";
repo = "r8168";
rev = version;
sha256 = "1l8llpcnapcaafxp7wlyny2ywh7k6q5zygwwjl9h0l6p04cghss4";
sha256 = "01mi7hh92nc7jaxkfrpz7j0ci78djrhgmq0im4k1270mwmvr0yzj";
};
hardeningDisable = [ "pic" ];