diff options
author | John Titor <50095635+JohnRTitor@users.noreply.github.com> | 2024-07-04 22:30:29 +0530 |
---|---|---|
committer | John Titor <50095635+JohnRTitor@users.noreply.github.com> | 2024-07-04 22:30:29 +0530 |
commit | 62cedf828fca72a79c6056783679a0342f919f23 (patch) | |
tree | 9aa28ea6beab550f386f2cc557c8f06aa89df5ce | |
parent | 8d34974a017d3cf7b0cedbfeafe16ba4a830a32f (diff) |
rtl8821ce: move to finalAttrs, nixfmt-rfc-style
-rw-r--r-- | pkgs/os-specific/linux/rtl8821ce/default.nix | 29 |
1 files changed, 17 insertions, 12 deletions
diff --git a/pkgs/os-specific/linux/rtl8821ce/default.nix b/pkgs/os-specific/linux/rtl8821ce/default.nix index a02a355e1a05..434397ebc7c1 100644 --- a/pkgs/os-specific/linux/rtl8821ce/default.nix +++ b/pkgs/os-specific/linux/rtl8821ce/default.nix @@ -1,11 +1,12 @@ -{ lib -, stdenv -, fetchFromGitHub -, kernel -, bc +{ + lib, + stdenv, + fetchFromGitHub, + kernel, + bc, }: -stdenv.mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "rtl8821ce"; version = "${kernel.version}-unstable-2024-03-26"; @@ -34,12 +35,16 @@ stdenv.mkDerivation rec { enableParallelBuilding = true; - meta = with lib; { + meta = { description = "Realtek rtl8821ce driver"; homepage = "https://github.com/tomaspinho/rtl8821ce"; - license = licenses.gpl2Only; - platforms = platforms.linux; - maintainers = with maintainers; [ hhm defelo ]; - broken = stdenv.isAarch64 || ((lib.versions.majorMinor kernel.version) == "5.4" && kernel.isHardened); + license = lib.licenses.gpl2Only; + platforms = lib.platforms.linux; + maintainers = with lib.maintainers; [ + hhm + defelo + ]; + broken = + stdenv.isAarch64 || ((lib.versions.majorMinor kernel.version) == "5.4" && kernel.isHardened); }; -} +}) |