Merge pull request #179380 from IvarWithoutBones/bump/rtl8821ce

linuxPackages.rtl8821ce: unstable-2021-11-19 -> unstable-2022-06-01
This commit is contained in:
Rick van Schijndel 2022-06-29 08:15:07 +02:00 committed by GitHub
commit e15f328d2f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -8,21 +8,15 @@
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "rtl8821ce"; pname = "rtl8821ce";
version = "${kernel.version}-unstable-2021-11-19"; version = "${kernel.version}-unstable-2022-06-01";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "tomaspinho"; owner = "tomaspinho";
repo = "rtl8821ce"; repo = "rtl8821ce";
rev = "ca204c60724d23ab10244f920d4e50759ed1affb"; rev = "be733dc86781c68571650b395dd0fa6b53c0a039";
sha256 = "18ma8a8h1l90dss0k6al7q6plwr57jc9g67p22g9917k1jfbhm97"; sha256 = "sha256-4PgISOjCSSGymz96VwE4jzcUiOEO+Ocuk2kJVIA+TQM=";
}; };
# Fixes the build on kernel >= 5.17. Can be removed once https://github.com/tomaspinho/rtl8821ce/pull/267 is merged
patches = [(fetchpatch {
url = "https://github.com/tomaspinho/rtl8821ce/commit/7b9e55df64b10fed785f22df9f36ed4a30b59d0e.patch";
sha256 = "sha256-mpAWOG1aXsklGuDbrRB9Vd36mgeCdctKQaWuuoqEEp0=";
})];
hardeningDisable = [ "pic" ]; hardeningDisable = [ "pic" ];
nativeBuildInputs = [ bc ] ++ kernel.moduleBuildDependencies; nativeBuildInputs = [ bc ] ++ kernel.moduleBuildDependencies;
@ -47,7 +41,7 @@ stdenv.mkDerivation rec {
homepage = "https://github.com/tomaspinho/rtl8821ce"; homepage = "https://github.com/tomaspinho/rtl8821ce";
license = licenses.gpl2Only; license = licenses.gpl2Only;
platforms = platforms.linux; platforms = platforms.linux;
broken = stdenv.isAarch64 || kernel.kernelAtLeast "5.18"; broken = stdenv.isAarch64;
maintainers = with maintainers; [ hhm ivar ]; maintainers = with maintainers; [ hhm ivar ];
}; };
} }