auto-epp: init at 1.2.1
This commit is contained in:
parent
2b0ca5c6e9
commit
f8e9bffcfe
1 changed files with 29 additions and 0 deletions
29
pkgs/by-name/au/auto-epp/package.nix
Normal file
29
pkgs/by-name/au/auto-epp/package.nix
Normal file
|
@ -0,0 +1,29 @@
|
|||
{ lib, stdenv, fetchFromGitHub, python3 }:
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "auto-epp";
|
||||
version = "1.2.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "jothi-prasath";
|
||||
repo = "auto-epp";
|
||||
rev = "refs/tags/v${version}";
|
||||
hash = "sha256-7sI8K+7ZAdzBN/XOzYQQZ1f9t+fFo6fcXYzX6abNyQ8=";
|
||||
};
|
||||
|
||||
buildInputs = [ python3 ];
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
install -Dm555 auto-epp $out/bin/auto-epp
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
mainProgram = "auto-epp";
|
||||
homepage = "https://github.com/jothi-prasath/auto-epp";
|
||||
description = "Auto-epp (energy performance preference) for AMD processors when amd_pstate=active";
|
||||
platforms = platforms.linux;
|
||||
license = licenses.mit;
|
||||
maintainers = [ maintainers.lamarios ];
|
||||
};
|
||||
}
|
Loading…
Reference in a new issue