1 { stdenv, lib, fetchFromGitHub }:
3 stdenv.mkDerivation rec {
4 pname = "power-calibrate";
7 src = fetchFromGitHub {
8 owner = "ColinIanKing";
11 hash = "sha256-DZ6rXbhaSNy3TEX+lwv3tyKQ7BXOZ9ycrff/7pF60j0=";
15 "BINDIR=${placeholder "out"}/bin"
16 "MANDIR=${placeholder "out"}/share/man/man8"
17 "BASHDIR=${placeholder "out"}/share/bash-completion/completions"
21 description = "Tool to calibrate power consumption";
22 mainProgram = "power-calibrate";
23 homepage = "https://github.com/ColinIanKing/power-calibrate";
24 license = licenses.gpl2Plus;
25 platforms = platforms.linux;
26 maintainers = with maintainers; [ dtzWill ];