uboot: (firmwareOdroidC2/C4) don't invoke patch tool, use patches = [] instead
https://github.com/NixOS/nixpkgs/blob/master/pkgs/stdenv/generic/setup.sh#L948 this can do it nicely. Signed-off-by: Anton Arapov <anton@deadbeef.mx>
This commit is contained in:
commit
56de2bcd43
30691 changed files with 3076956 additions and 0 deletions
27
pkgs/os-specific/linux/undervolt/default.nix
Normal file
27
pkgs/os-specific/linux/undervolt/default.nix
Normal file
|
|
@ -0,0 +1,27 @@
|
|||
{ lib, fetchFromGitHub, python3Packages }:
|
||||
|
||||
python3Packages.buildPythonApplication rec {
|
||||
version = "0.3.0";
|
||||
pname = "undervolt";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "georgewhewell";
|
||||
repo = "undervolt";
|
||||
rev = version;
|
||||
sha256 = "1aybk8vbb4745raz7rvpkk6b98xrdiwjhkpbv3kwsgsr9sj42lp0";
|
||||
};
|
||||
|
||||
meta = with lib; {
|
||||
homepage = "https://github.com/georgewhewell/undervolt/";
|
||||
description = "A program for undervolting Intel CPUs on Linux";
|
||||
|
||||
longDescription = ''
|
||||
Undervolt is a program for undervolting Intel CPUs under Linux. It works in a similar
|
||||
manner to the Windows program ThrottleStop (i.e, MSR 0x150). You can apply a fixed
|
||||
voltage offset to one of 5 voltage planes, and override your systems temperature
|
||||
target (CPU will throttle when this temperature is reached).
|
||||
'';
|
||||
license = licenses.gpl2;
|
||||
platforms = [ "x86_64-linux" ];
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue