base16-schemes: unstable-2024-06-21 -> unstable-2024-11-12
[NixPkgs.git] / pkgs / by-name / po / power-calibrate / package.nix
blobd7dfa684211c3d9b4df2a54a357e4a645b7b582f
1 { stdenv, lib, fetchFromGitHub }:
3 stdenv.mkDerivation rec {
4   pname = "power-calibrate";
5   version = "0.01.37";
7   src = fetchFromGitHub {
8     owner = "ColinIanKing";
9     repo = pname;
10     rev = "V${version}";
11     hash = "sha256-DZ6rXbhaSNy3TEX+lwv3tyKQ7BXOZ9ycrff/7pF60j0=";
12   };
14   installFlags = [
15     "BINDIR=${placeholder "out"}/bin"
16     "MANDIR=${placeholder "out"}/share/man/man8"
17     "BASHDIR=${placeholder "out"}/share/bash-completion/completions"
18   ];
20   meta = with lib; {
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 ];
27   };