Merge pull request #288531 from chewblacka/update-undervolt

undervolt: 0.3.0 -> 0.4.0
This commit is contained in:
maxine 2024-02-14 17:30:53 +01:00 committed by GitHub
commit 8c8cc53769
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 11 additions and 2 deletions

View file

@ -12,6 +12,7 @@ let
inherit (cfg)
verbose
temp
turbo
;
# `core` and `cache` are both intentionally set to `cfg.coreOffset` as according to the undervolt docs:
#
@ -105,6 +106,14 @@ in
'';
};
turbo = mkOption {
type = types.nullOr types.int;
default = null;
description = lib.mdDoc ''
Changes the Intel Turbo feature status (1 is disabled and 0 is enabled).
'';
};
p1.limit = mkOption {
type = with types; nullOr int;
default = null;

View file

@ -1,14 +1,14 @@
{ lib, fetchFromGitHub, python3Packages }:
python3Packages.buildPythonApplication rec {
version = "0.3.0";
version = "0.4.0";
pname = "undervolt";
src = fetchFromGitHub {
owner = "georgewhewell";
repo = "undervolt";
rev = version;
sha256 = "1aybk8vbb4745raz7rvpkk6b98xrdiwjhkpbv3kwsgsr9sj42lp0";
hash = "sha256-G+CK/lnZXkQdyNZPqY9P3owVJsd22H3K8wSpjHFG0ow=";
};
meta = with lib; {