Loading maintainers/maintainer-list.nix +11 −0 Original line number Diff line number Diff line Loading @@ -23179,6 +23179,17 @@ githubId = 36118348; keys = [ { fingerprint = "69C9 876B 5797 1B2E 11C5 7C39 80A1 F76F C9F9 54AE"; } ]; }; wizardlink = { name = "wizardlink"; email = "contact@thewizard.link"; github = "wizardlink"; githubId = 26727907; keys = [ { fingerprint = "A1D3 A2B4 E14B D7C0 445B B749 A576 7B54 367C FBDF"; } ]; }; wizeman = { email = "rcorreia@wizy.org"; github = "wizeman"; pkgs/os-specific/linux/zenergy/default.nix 0 → 100644 +45 −0 Original line number Diff line number Diff line { lib, stdenv, fetchFromGitHub, kernel, kmod, }: let kernelDirectory = "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"; in stdenv.mkDerivation { pname = "zenergy"; version = "0-unstable-2024-10-10"; src = fetchFromGitHub { owner = "BoukeHaarsma23"; repo = "zenergy"; rev = "7c4e83d5e2f887f4c31edaf92e5f94e9448e9764"; hash = "sha256-5fYelEr4IYnuXrly15IcyicFrF0tYjs7OBqIhUYQXZ0="; }; nativeBuildInputs = [ kmod ] ++ kernel.moduleBuildDependencies; hardeningDisable = [ "format" "pic" ]; makeFlags = kernel.makeFlags ++ [ "KDIR=${kernelDirectory}" ]; installTargets = [ "modules_install" ]; preBuild = '' substituteInPlace Makefile --replace-fail "PWD modules_install" "PWD INSTALL_MOD_PATH=$out modules_install" ''; meta = with lib; { description = "Based on AMD_ENERGY driver, but with some jiffies added so non-root users can read it safely."; homepage = "https://github.com/BoukeHaarsma23/zenergy"; license = licenses.gpl2Only; maintainers = with maintainers; [ wizardlink ]; platforms = platforms.linux; }; } pkgs/top-level/linux-kernels.nix +2 −0 Original line number Diff line number Diff line Loading @@ -407,6 +407,8 @@ in { new-lg4ff = callPackage ../os-specific/linux/new-lg4ff { }; zenergy = callPackage ../os-specific/linux/zenergy { }; nvidiabl = callPackage ../os-specific/linux/nvidiabl { }; nvidiaPackages = dontRecurseIntoAttrs (lib.makeExtensible (_: callPackage ../os-specific/linux/nvidia-x11 { })); Loading Loading
maintainers/maintainer-list.nix +11 −0 Original line number Diff line number Diff line Loading @@ -23179,6 +23179,17 @@ githubId = 36118348; keys = [ { fingerprint = "69C9 876B 5797 1B2E 11C5 7C39 80A1 F76F C9F9 54AE"; } ]; }; wizardlink = { name = "wizardlink"; email = "contact@thewizard.link"; github = "wizardlink"; githubId = 26727907; keys = [ { fingerprint = "A1D3 A2B4 E14B D7C0 445B B749 A576 7B54 367C FBDF"; } ]; }; wizeman = { email = "rcorreia@wizy.org"; github = "wizeman";
pkgs/os-specific/linux/zenergy/default.nix 0 → 100644 +45 −0 Original line number Diff line number Diff line { lib, stdenv, fetchFromGitHub, kernel, kmod, }: let kernelDirectory = "${kernel.dev}/lib/modules/${kernel.modDirVersion}/build"; in stdenv.mkDerivation { pname = "zenergy"; version = "0-unstable-2024-10-10"; src = fetchFromGitHub { owner = "BoukeHaarsma23"; repo = "zenergy"; rev = "7c4e83d5e2f887f4c31edaf92e5f94e9448e9764"; hash = "sha256-5fYelEr4IYnuXrly15IcyicFrF0tYjs7OBqIhUYQXZ0="; }; nativeBuildInputs = [ kmod ] ++ kernel.moduleBuildDependencies; hardeningDisable = [ "format" "pic" ]; makeFlags = kernel.makeFlags ++ [ "KDIR=${kernelDirectory}" ]; installTargets = [ "modules_install" ]; preBuild = '' substituteInPlace Makefile --replace-fail "PWD modules_install" "PWD INSTALL_MOD_PATH=$out modules_install" ''; meta = with lib; { description = "Based on AMD_ENERGY driver, but with some jiffies added so non-root users can read it safely."; homepage = "https://github.com/BoukeHaarsma23/zenergy"; license = licenses.gpl2Only; maintainers = with maintainers; [ wizardlink ]; platforms = platforms.linux; }; }
pkgs/top-level/linux-kernels.nix +2 −0 Original line number Diff line number Diff line Loading @@ -407,6 +407,8 @@ in { new-lg4ff = callPackage ../os-specific/linux/new-lg4ff { }; zenergy = callPackage ../os-specific/linux/zenergy { }; nvidiabl = callPackage ../os-specific/linux/nvidiabl { }; nvidiaPackages = dontRecurseIntoAttrs (lib.makeExtensible (_: callPackage ../os-specific/linux/nvidia-x11 { })); Loading