at 18.09-beta 27 lines 912 B view raw
1{ stdenv, fetchFromGitHub, python3Packages }: 2 3python3Packages.buildPythonApplication rec { 4 version = "0.2.8"; 5 pname = "undervolt"; 6 7 src = fetchFromGitHub { 8 owner = "georgewhewell"; 9 repo = "undervolt"; 10 rev = "${version}"; 11 sha256 = "0crkqc5zq0gpyg031hfwdxymfc2gc1h8b6m0axzlh7gvnxlf5hra"; 12 }; 13 14 meta = with stdenv.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}