Commit fa97e9e3 authored by Defelo's avatar Defelo Committed by Masum Reza
Browse files

linuxPackages.rtl8821ce: 0-unstable-2025-03-12 -> 0-unstable-2025-03-31

parent 61440cf1
Loading
Loading
Loading
Loading
+3 −12
Original line number Diff line number Diff line
@@ -6,28 +6,19 @@
  kernelModuleMakeFlags,
  bc,
  nix-update-script,
  fetchpatch,
}:

stdenv.mkDerivation (finalAttrs: {
  pname = "rtl8821ce";
  version = "0-unstable-2025-03-12";
  version = "0-unstable-2025-03-31";

  src = fetchFromGitHub {
    owner = "tomaspinho";
    repo = "rtl8821ce";
    rev = "1bbfc35ece57cbdfb8473c49d3c6464eede54191";
    hash = "sha256-n9g98qORHdFVTU6jlMnCFvqW/xz6SDKqIBjT+IFEiHU=";
    rev = "98cff1d7dcbf17b36a98bac342df75dfe0b79017";
    hash = "sha256-23UJE3EzWufjuAU+iBOk5Ia2xUWxQQGI6/eCp1UmRUA=";
  };

  patches = [
    (fetchpatch {
      name = "fix-build-on-6.14.patch";
      url = "https://github.com/tomaspinho/rtl8821ce/commit/1f1809775e686a524c8eb8ebcf5957ed8e697f74.patch";
      hash = "sha256-p8lQS98i7lGMiNtmsWMKCLtwbFRJkLImUYCOLCfARTI=";
    })
  ];

  hardeningDisable = [ "pic" ];

  nativeBuildInputs = [ bc ] ++ kernel.moduleBuildDependencies;