vscode-extensions.saoudrizwan.claude-dev: 3.1.11 -> 3.2.5 (#375877)
[NixPkgs.git] / pkgs / by-name / po / power-calibrate / package.nix
blob5162b39f3f9923a564861a8013cbdddc9ca78ab2
2   stdenv,
3   lib,
4   fetchFromGitHub,
5 }:
7 stdenv.mkDerivation rec {
8   pname = "power-calibrate";
9   version = "0.01.37";
11   src = fetchFromGitHub {
12     owner = "ColinIanKing";
13     repo = pname;
14     rev = "V${version}";
15     hash = "sha256-DZ6rXbhaSNy3TEX+lwv3tyKQ7BXOZ9ycrff/7pF60j0=";
16   };
18   installFlags = [
19     "BINDIR=${placeholder "out"}/bin"
20     "MANDIR=${placeholder "out"}/share/man/man8"
21     "BASHDIR=${placeholder "out"}/share/bash-completion/completions"
22   ];
24   meta = with lib; {
25     description = "Tool to calibrate power consumption";
26     mainProgram = "power-calibrate";
27     homepage = "https://github.com/ColinIanKing/power-calibrate";
28     license = licenses.gpl2Plus;
29     platforms = platforms.linux;
30     maintainers = with maintainers; [ dtzWill ];
31   };