···11+{ stdenv, fetchFromGitHub, python3Packages }:
22+33+python3Packages.buildPythonApplication rec {
44+ version = "0.2.8";
55+ pname = "undervolt";
66+77+ src = fetchFromGitHub {
88+ owner = "georgewhewell";
99+ repo = "undervolt";
1010+ rev = "${version}";
1111+ sha256 = "0crkqc5zq0gpyg031hfwdxymfc2gc1h8b6m0axzlh7gvnxlf5hra";
1212+ };
1313+1414+ meta = with stdenv.lib; {
1515+ homepage = https://github.com/georgewhewell/undervolt/;
1616+ description = "A program for undervolting Intel CPUs on Linux";
1717+1818+ longDescription = ''
1919+ Undervolt is a program for undervolting Intel CPUs under Linux. It works in a similar
2020+ manner to the Windows program ThrottleStop (i.e, MSR 0x150). You can apply a fixed
2121+ voltage offset to one of 5 voltage planes, and override your systems temperature
2222+ target (CPU will throttle when this temperature is reached).
2323+ '';
2424+ license = licenses.gpl2;
2525+ platforms = [ "x86_64-linux" ];
2626+ };
2727+}