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
···
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
0
···
1
+
{ lib, stdenv, fetchFromGitHub, pciutils, cmake }:
2
+
stdenv.mkDerivation rec {
3
+
pname = "ryzenadj";
4
+
version = "0.8.2";
5
+
6
+
src = fetchFromGitHub {
7
+
owner = "FlyGoat";
8
+
repo = "RyzenAdj";
9
+
rev = "v${version}";
10
+
sha256 = "182l9nchlpl4yr568n86086glkr607rif92wnwc7v3aym62ch6ld";
11
+
};
12
+
13
+
nativeBuildInputs = [ pciutils cmake ];
14
+
15
+
installPhase = ''
16
+
install -D libryzenadj.so $out/lib/libryzenadj.so
17
+
install -D ryzenadj $out/bin/ryzenadj
18
+
'';
19
+
20
+
meta = with lib; {
21
+
description = "Adjust power management settings for Ryzen Mobile Processors.";
22
+
homepage = "https://github.com/FlyGoat/RyzenAdj";
23
+
license = licenses.lgpl3Only;
24
+
maintainers = with maintainers; [ asbachb ];
25
+
platforms = [ "x86_64-linux" ];
26
+
};
27
+
}
+2
pkgs/top-level/all-packages.nix
···
31748
31749
zenstates = callPackage ../os-specific/linux/zenstates {};
31750
0
0
31751
vpsfree-client = callPackage ../tools/virtualization/vpsfree-client {};
31752
31753
gpio-utils = callPackage ../os-specific/linux/kernel/gpio-utils.nix { };
···
31748
31749
zenstates = callPackage ../os-specific/linux/zenstates {};
31750
31751
+
ryzenadj = callPackage ../os-specific/linux/ryzenadj {};
31752
+
31753
vpsfree-client = callPackage ../tools/virtualization/vpsfree-client {};
31754
31755
gpio-utils = callPackage ../os-specific/linux/kernel/gpio-utils.nix { };