Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at fix-function-merge 28 lines 929 B view raw
1{ lib, fetchFromGitHub, python3Packages }: 2 3python3Packages.buildPythonApplication rec { 4 version = "0.4.0"; 5 pname = "undervolt"; 6 7 src = fetchFromGitHub { 8 owner = "georgewhewell"; 9 repo = "undervolt"; 10 rev = version; 11 hash = "sha256-G+CK/lnZXkQdyNZPqY9P3owVJsd22H3K8wSpjHFG0ow="; 12 }; 13 14 meta = with lib; { 15 homepage = "https://github.com/georgewhewell/undervolt/"; 16 description = "Program for undervolting Intel CPUs on Linux"; 17 mainProgram = "undervolt"; 18 19 longDescription = '' 20 Undervolt is a program for undervolting Intel CPUs under Linux. It works in a similar 21 manner to the Windows program ThrottleStop (i.e, MSR 0x150). You can apply a fixed 22 voltage offset to one of 5 voltage planes, and override your systems temperature 23 target (CPU will throttle when this temperature is reached). 24 ''; 25 license = licenses.gpl2Only; 26 platforms = [ "x86_64-linux" ]; 27 }; 28}