amdctl: init at 0.11

authored by Thiago Kenji Okada and committed by Anderson Torres d0da32a4 144133c5

+34
+32
pkgs/os-specific/linux/amdctl/default.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + }: 5 + 6 + stdenv.mkDerivation rec { 7 + pname = "amdctl"; 8 + version = "0.11"; 9 + 10 + src = fetchFromGitHub { 11 + owner = "kevinlekiller"; 12 + repo = "amdctl"; 13 + rev = "v${version}"; 14 + hash = "sha256-2wBk/9aAD7ARMGbcVxk+CzEvUf8U4RS4ZwTCj8cHNNo="; 15 + }; 16 + 17 + installPhase = '' 18 + runHook preInstall 19 + 20 + install -Dm755 amdctl $out/bin/amdctl 21 + 22 + runHook postInstall 23 + ''; 24 + 25 + meta = with lib; { 26 + description = "Set P-State voltages and clock speeds on recent AMD CPUs on Linux."; 27 + homepage = "https://github.com/kevinlekiller/amdctl"; 28 + license = licenses.gpl3Plus; 29 + maintainers = with maintainers; [ thiagokokada ]; 30 + platforms = [ "x86_64-linux" ]; 31 + }; 32 + }
+2
pkgs/top-level/all-packages.nix
··· 38097 38097 38098 38098 alpnpass = callPackage ../applications/networking/alpnpass { }; 38099 38099 38100 + amdctl = callPackage ../os-specific/linux/amdctl { }; 38101 + 38100 38102 android-file-transfer = libsForQt5.callPackage ../tools/filesystems/android-file-transfer { }; 38101 38103 38102 38104 antimicrox = libsForQt5.callPackage ../tools/misc/antimicrox { };