Unverified Commit 8c8cc537 authored by maxine's avatar maxine Committed by GitHub
Browse files

Merge pull request #288531 from chewblacka/update-undervolt

undervolt: 0.3.0 -> 0.4.0
parents 55cb365f eaa1034a
Loading
Loading
Loading
Loading
+9 −0
Original line number Diff line number Diff line
@@ -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;
+2 −2
Original line number Diff line number Diff line
{ 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; {