fork
Configure Feed
Select the types of activity you want to include in your feed.
lol
fork
Configure Feed
Select the types of activity you want to include in your feed.
1{ lib, stdenv, fetchFromGitHub, cmake }:
2
3stdenv.mkDerivation rec {
4 pname = "powercap";
5 version = "0.3.1";
6
7 src = fetchFromGitHub {
8 owner = "powercap";
9 repo = "powercap";
10 rev = "v${version}";
11 sha256 = "0f1sg1zsskcfralg9khwq7lmz25gvnyknza3bb0hmh1a9lw0jhdn";
12 };
13
14 nativeBuildInputs = [ cmake ];
15
16 cmakeFlags = [
17 "-DBUILD_SHARED_LIBS=On"
18 ];
19
20 meta = with lib; {
21 description = "Tools and library to read/write to the Linux power capping framework (sysfs interface)";
22 license = licenses.bsd3;
23 platforms = platforms.linux;
24 maintainers = with maintainers; [ rowanG077 ];
25 };
26}