linuxPackages.rtl8821cu: switch to a more maintained fork

This commit is contained in:
fortuneteller2k 2021-05-19 14:50:13 +08:00
parent f4e14c1796
commit d7692cd0d1

View File

@ -1,13 +1,14 @@
{ lib, stdenv, fetchFromGitHub, kernel, bc }: { lib, stdenv, fetchFromGitHub, kernel, bc }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
name = "rtl8821cu-${kernel.version}-${version}"; pname = "rtl8821cu";
version = "unstable-2020-12-21"; version = "${kernel.version}-unstable-2021-05-19";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "brektrou"; owner = "morrownr";
repo = "rtl8821cu"; repo = "8821cu";
rev = "428a0820487418ec69c0edb91726d1cf19763b1e"; rev = "2430c354c9b15fa6193a263c99ce57211d50c66f";
sha256 = "1ccl94727yq7gzn37ky91k0736cambgnkaa37r2f2hinpl9qdd8q"; sha256 = "sha256-PkrpwebZYh/hBukqDQf6pxfbkVyA+CpYtte5pmzgLtw=";
}; };
hardeningDisable = [ "pic" ]; hardeningDisable = [ "pic" ];
@ -29,8 +30,8 @@ stdenv.mkDerivation rec {
meta = with lib; { meta = with lib; {
description = "Realtek rtl8821cu driver"; description = "Realtek rtl8821cu driver";
homepage = "https://github.com/brektrou/rtl8821CU"; homepage = "https://github.com/morrownr/8821cu";
license = licenses.gpl2; license = licenses.gpl2Only;
platforms = platforms.linux; platforms = platforms.linux;
maintainers = [ maintainers.contrun ]; maintainers = [ maintainers.contrun ];
}; };