Merge pull request #106936 from LouisTakePILLz/update-r8125

This commit is contained in:
Sandro 2021-01-18 01:18:09 +01:00 committed by GitHub
commit 961dc12dd3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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 ];