tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
ryzenadj: init at 0.8.2
Benjamin Asbach
4 years ago
c24962b1
9232abe0
+29
2 changed files
expand all
collapse all
unified
split
pkgs
os-specific
linux
ryzenadj
default.nix
top-level
all-packages.nix
+27
pkgs/os-specific/linux/ryzenadj/default.nix
···
1
1
+
{ lib, stdenv, fetchFromGitHub, pciutils, cmake }:
2
2
+
stdenv.mkDerivation rec {
3
3
+
pname = "ryzenadj";
4
4
+
version = "0.8.2";
5
5
+
6
6
+
src = fetchFromGitHub {
7
7
+
owner = "FlyGoat";
8
8
+
repo = "RyzenAdj";
9
9
+
rev = "v${version}";
10
10
+
sha256 = "182l9nchlpl4yr568n86086glkr607rif92wnwc7v3aym62ch6ld";
11
11
+
};
12
12
+
13
13
+
nativeBuildInputs = [ pciutils cmake ];
14
14
+
15
15
+
installPhase = ''
16
16
+
install -D libryzenadj.so $out/lib/libryzenadj.so
17
17
+
install -D ryzenadj $out/bin/ryzenadj
18
18
+
'';
19
19
+
20
20
+
meta = with lib; {
21
21
+
description = "Adjust power management settings for Ryzen Mobile Processors.";
22
22
+
homepage = "https://github.com/FlyGoat/RyzenAdj";
23
23
+
license = licenses.lgpl3Only;
24
24
+
maintainers = with maintainers; [ asbachb ];
25
25
+
platforms = [ "x86_64-linux" ];
26
26
+
};
27
27
+
}
+2
pkgs/top-level/all-packages.nix
···
31748
31748
31749
31749
zenstates = callPackage ../os-specific/linux/zenstates {};
31750
31750
31751
31751
+
ryzenadj = callPackage ../os-specific/linux/ryzenadj {};
31752
31752
+
31751
31753
vpsfree-client = callPackage ../tools/virtualization/vpsfree-client {};
31752
31754
31753
31755
gpio-utils = callPackage ../os-specific/linux/kernel/gpio-utils.nix { };