diff options
author | Renaud <c0bw3b@users.noreply.github.com> | 2021-12-21 22:52:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-12-21 22:52:44 +0100 |
commit | 3fb18b1a73874f3fe1620a8c9ed6bd923bfda832 (patch) | |
tree | d7750fcba9dbd0b981a205bd8027e61b91317780 /pkgs/os-specific/linux/power-calibrate | |
parent | a9a672982c1c968a371b1cfc0f51a43bf80e65be (diff) |
power-calibrate: 0.01.29 -> 0.01.34
(#151440)
Diffstat (limited to 'pkgs/os-specific/linux/power-calibrate')
-rw-r--r-- | pkgs/os-specific/linux/power-calibrate/default.nix | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/pkgs/os-specific/linux/power-calibrate/default.nix b/pkgs/os-specific/linux/power-calibrate/default.nix index d62990ed4ffdf..884b2d0e01cdd 100644 --- a/pkgs/os-specific/linux/power-calibrate/default.nix +++ b/pkgs/os-specific/linux/power-calibrate/default.nix @@ -1,22 +1,25 @@ -{ stdenv, lib, fetchurl }: +{ stdenv, lib, fetchFromGitHub }: stdenv.mkDerivation rec { pname = "power-calibrate"; - version = "0.01.29"; + version = "0.01.34"; - src = fetchurl { - url = "https://kernel.ubuntu.com/~cking/tarballs/${pname}/${pname}-${version}.tar.gz"; - sha256 = "1v8wvhjqglkvk9cl2b48lkcwhbc6nsdi3hjd7sap4hyvd6703pgs"; + src = fetchFromGitHub { + owner = "ColinIanKing"; + repo = pname; + rev = "V${version}"; + hash = "sha256-T2fCTE+snNt1ylOpVR0JfT2x0lWrgItpfjtUx/zjaQw="; }; installFlags = [ "BINDIR=${placeholder "out"}/bin" "MANDIR=${placeholder "out"}/share/man/man8" + "BASHDIR=${placeholder "out"}/share/bash-completion/completions" ]; meta = with lib; { description = "Tool to calibrate power consumption"; - homepage = "https://kernel.ubuntu.com/~cking/power-calibrate/"; + homepage = "https://github.com/ColinIanKing/power-calibrate"; license = licenses.gpl2; platforms = platforms.linux; maintainers = with maintainers; [ dtzWill ]; |