Merge pull request #115806 from rowanG077/master
This commit is contained in:
commit
a019a90a33
|
@ -8273,6 +8273,12 @@
|
||||||
fingerprint = "1401 1B63 393D 16C1 AA9C C521 8526 B757 4A53 6236";
|
fingerprint = "1401 1B63 393D 16C1 AA9C C521 8526 B757 4A53 6236";
|
||||||
}];
|
}];
|
||||||
};
|
};
|
||||||
|
rowanG077 = {
|
||||||
|
email = "goemansrowan@gmail.com";
|
||||||
|
github = "rowanG077";
|
||||||
|
githubId = 7439756;
|
||||||
|
name = "Rowan Goemans";
|
||||||
|
};
|
||||||
royneary = {
|
royneary = {
|
||||||
email = "christian@ulrich.earth";
|
email = "christian@ulrich.earth";
|
||||||
github = "royneary";
|
github = "royneary";
|
||||||
|
|
|
@ -0,0 +1,26 @@
|
||||||
|
{ lib, stdenv, fetchFromGitHub, cmake }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
pname = "powercap";
|
||||||
|
version = "0.3.1";
|
||||||
|
|
||||||
|
src = fetchFromGitHub {
|
||||||
|
owner = "powercap";
|
||||||
|
repo = "powercap";
|
||||||
|
rev = "v${version}";
|
||||||
|
sha256 = "0f1sg1zsskcfralg9khwq7lmz25gvnyknza3bb0hmh1a9lw0jhdn";
|
||||||
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ cmake ];
|
||||||
|
|
||||||
|
cmakeFlags = [
|
||||||
|
"-DBUILD_SHARED_LIBS=On"
|
||||||
|
];
|
||||||
|
|
||||||
|
meta = with lib; {
|
||||||
|
description = "Tools and library to read/write to the Linux power capping framework (sysfs interface)";
|
||||||
|
license = licenses.bsd3;
|
||||||
|
platforms = platforms.linux;
|
||||||
|
maintainers = with maintainers; [ rowanG077 ];
|
||||||
|
};
|
||||||
|
}
|
|
@ -19461,6 +19461,8 @@ in
|
||||||
|
|
||||||
power-calibrate = callPackage ../os-specific/linux/power-calibrate { };
|
power-calibrate = callPackage ../os-specific/linux/power-calibrate { };
|
||||||
|
|
||||||
|
powercap = callPackage ../os-specific/linux/powercap { };
|
||||||
|
|
||||||
powerstat = callPackage ../os-specific/linux/powerstat { };
|
powerstat = callPackage ../os-specific/linux/powerstat { };
|
||||||
|
|
||||||
smemstat = callPackage ../os-specific/linux/smemstat { };
|
smemstat = callPackage ../os-specific/linux/smemstat { };
|
||||||
|
|
Loading…
Reference in New Issue