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