1{ lib, fetchFromGitHub, python3Packages }:
2
3python3Packages.buildPythonApplication rec {
4 version = "0.3.0";
5 pname = "undervolt";
6
7 src = fetchFromGitHub {
8 owner = "georgewhewell";
9 repo = "undervolt";
10 rev = version;
11 sha256 = "1aybk8vbb4745raz7rvpkk6b98xrdiwjhkpbv3kwsgsr9sj42lp0";
12 };
13
14 meta = with lib; {
15 homepage = "https://github.com/georgewhewell/undervolt/";
16 description = "A program for undervolting Intel CPUs on Linux";
17
18 longDescription = ''
19 Undervolt is a program for undervolting Intel CPUs under Linux. It works in a similar
20 manner to the Windows program ThrottleStop (i.e, MSR 0x150). You can apply a fixed
21 voltage offset to one of 5 voltage planes, and override your systems temperature
22 target (CPU will throttle when this temperature is reached).
23 '';
24 license = licenses.gpl2;
25 platforms = [ "x86_64-linux" ];
26 };
27}