Merge pull request #125705 from asbachb/ryzenadj
ryzenadj: init at 0.8.2
This commit is contained in:
commit
b415e8328b
27
pkgs/os-specific/linux/ryzenadj/default.nix
Normal file
27
pkgs/os-specific/linux/ryzenadj/default.nix
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
{ lib, stdenv, fetchFromGitHub, pciutils, cmake }:
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "ryzenadj";
|
||||||
|
version = "0.8.2";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "FlyGoat";
|
||||||
|
repo = "RyzenAdj";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "182l9nchlpl4yr568n86086glkr607rif92wnwc7v3aym62ch6ld";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ pciutils cmake ];
|
||||||
|
|
||||||
|
installPhase = ''
|
||||||
|
install -D libryzenadj.so $out/lib/libryzenadj.so
|
||||||
|
install -D ryzenadj $out/bin/ryzenadj
|
||||||
|
'';
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Adjust power management settings for Ryzen Mobile Processors.";
|
||||||
|
homepage = "https://github.com/FlyGoat/RyzenAdj";
|
||||||
|
license = licenses.lgpl3Only;
|
||||||
|
maintainers = with maintainers; [ asbachb ];
|
||||||
|
platforms = [ "x86_64-linux" ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -31753,6 +31753,8 @@ in
|
||||||
|
|
||||||
zenstates = callPackage ../os-specific/linux/zenstates {};
|
zenstates = callPackage ../os-specific/linux/zenstates {};
|
||||||
|
|
||||||
|
ryzenadj = callPackage ../os-specific/linux/ryzenadj {};
|
||||||
|
|
||||||
vpsfree-client = callPackage ../tools/virtualization/vpsfree-client {};
|
vpsfree-client = callPackage ../tools/virtualization/vpsfree-client {};
|
||||||
|
|
||||||
gpio-utils = callPackage ../os-specific/linux/kernel/gpio-utils.nix { };
|
gpio-utils = callPackage ../os-specific/linux/kernel/gpio-utils.nix { };
|
||||||
|
|
Loading…
Reference in a new issue