power-calibrate: 0.01.29 -> 0.01.34

(#151440)
This commit is contained in:
Renaud 2021-12-21 22:52:44 +01:00 committed by GitHub
parent a9a672982c
commit 3fb18b1a73
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,22 +1,25 @@
{ stdenv, lib, fetchurl }: { stdenv, lib, fetchFromGitHub }:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "power-calibrate"; pname = "power-calibrate";
version = "0.01.29"; version = "0.01.34";
src = fetchurl { src = fetchFromGitHub {
url = "https://kernel.ubuntu.com/~cking/tarballs/${pname}/${pname}-${version}.tar.gz"; owner = "ColinIanKing";
sha256 = "1v8wvhjqglkvk9cl2b48lkcwhbc6nsdi3hjd7sap4hyvd6703pgs"; repo = pname;
rev = "V${version}";
hash = "sha256-T2fCTE+snNt1ylOpVR0JfT2x0lWrgItpfjtUx/zjaQw=";
}; };
installFlags = [ installFlags = [
"BINDIR=${placeholder "out"}/bin" "BINDIR=${placeholder "out"}/bin"
"MANDIR=${placeholder "out"}/share/man/man8" "MANDIR=${placeholder "out"}/share/man/man8"
"BASHDIR=${placeholder "out"}/share/bash-completion/completions"
]; ];
meta = with lib; { meta = with lib; {
description = "Tool to calibrate power consumption"; description = "Tool to calibrate power consumption";
homepage = "https://kernel.ubuntu.com/~cking/power-calibrate/"; homepage = "https://github.com/ColinIanKing/power-calibrate";
license = licenses.gpl2; license = licenses.gpl2;
platforms = platforms.linux; platforms = platforms.linux;
maintainers = with maintainers; [ dtzWill ]; maintainers = with maintainers; [ dtzWill ];