1 { lib, stdenv, fetchFromGitHub, python3 }:
2 stdenv.mkDerivation rec {
6 src = fetchFromGitHub {
7 owner = "jothi-prasath";
9 rev = "refs/tags/v${version}";
10 hash = "sha256-7sI8K+7ZAdzBN/XOzYQQZ1f9t+fFo6fcXYzX6abNyQ8=";
13 buildInputs = [ python3 ];
17 install -Dm555 auto-epp $out/bin/auto-epp
22 mainProgram = "auto-epp";
23 homepage = "https://github.com/jothi-prasath/auto-epp";
24 description = "Auto-epp (energy performance preference) for AMD processors when amd_pstate=active";
25 platforms = platforms.linux;
26 license = licenses.mit;
27 maintainers = [ maintainers.lamarios ];