amdctl: init at 0.11

This commit is contained in:
Thiago Kenji Okada 2023-04-06 20:49:06 +01:00 committed by Anderson Torres
parent 144133c526
commit d0da32a4b2
2 changed files with 34 additions and 0 deletions

View File

@ -0,0 +1,32 @@
{ lib
, stdenv
, fetchFromGitHub
}:
stdenv.mkDerivation rec {
pname = "amdctl";
version = "0.11";
src = fetchFromGitHub {
owner = "kevinlekiller";
repo = "amdctl";
rev = "v${version}";
hash = "sha256-2wBk/9aAD7ARMGbcVxk+CzEvUf8U4RS4ZwTCj8cHNNo=";
};
installPhase = ''
runHook preInstall
install -Dm755 amdctl $out/bin/amdctl
runHook postInstall
'';
meta = with lib; {
description = "Set P-State voltages and clock speeds on recent AMD CPUs on Linux.";
homepage = "https://github.com/kevinlekiller/amdctl";
license = licenses.gpl3Plus;
maintainers = with maintainers; [ thiagokokada ];
platforms = [ "x86_64-linux" ];
};
}

View File

@ -38097,6 +38097,8 @@ with pkgs;
alpnpass = callPackage ../applications/networking/alpnpass { };
amdctl = callPackage ../os-specific/linux/amdctl { };
android-file-transfer = libsForQt5.callPackage ../tools/filesystems/android-file-transfer { };
antimicrox = libsForQt5.callPackage ../tools/misc/antimicrox { };