1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

Merge pull request #68911 from dtzWill/feature/power-calibrate

power-calibrate: init at 0.01.28
This commit is contained in:
Will Dietz 2019-10-07 18:01:49 -05:00 committed by GitHub
commit 3a9e0f7a78
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 26 additions and 0 deletions

View file

@ -0,0 +1,24 @@
{ stdenv, lib, fetchurl }:
stdenv.mkDerivation rec {
pname = "power-calibrate";
version = "0.01.28";
src = fetchurl {
url = "https://kernel.ubuntu.com/~cking/tarballs/${pname}/${pname}-${version}.tar.gz";
sha256 = "1miyjs0vngzfdlsxhn5gndcalzkh28grg4m6faivvp1c6mjp794m";
};
installFlags = [
"BINDIR=${placeholder "out"}/bin"
"MANDIR=${placeholder "out"}/share/man/man8"
];
meta = with lib; {
description = "Tool to calibrate power consumption";
homepage = "https://kernel.ubuntu.com/~cking/power-calibrate/";
license = licenses.gpl2;
platforms = platforms.linux;
maintainers = with maintainers; [ dtzWill ];
};
}

View file

@ -15738,6 +15738,8 @@ in
osxfuse = callPackage ../os-specific/darwin/osxfuse { };
power-calibrate = callPackage ../os-specific/linux/power-calibrate { };
powerstat = callPackage ../os-specific/linux/powerstat { };
smemstat = callPackage ../os-specific/linux/smemstat { };