Skip to content

Commit eb33354

Browse files
committed
pid-fan-controller: init at 0.1.1
1 parent c2b7230 commit eb33354

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed
Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{
2+
rustPlatform,
3+
fetchFromGitHub,
4+
lib,
5+
}:
6+
let
7+
version = "0.1.1";
8+
in
9+
rustPlatform.buildRustPackage {
10+
pname = "pid-fan-controller";
11+
inherit version;
12+
13+
src = fetchFromGitHub {
14+
owner = "zimward";
15+
repo = "pid-fan-controller";
16+
rev = version;
17+
hash = "sha256-ALR9Qa0AhcGyc3+7x5CEG/72+bJzhaEoIvQNL+QjldY=";
18+
};
19+
cargoHash = "sha256-u1Y1k1I5gRzpDHhRJZCCtMTwAvtCaIy3uXQTvmtEx5w=";
20+
21+
meta = {
22+
description = "Service to provide closed-loop PID fan control";
23+
homepage = "https://github.com/zimward/pid-fan-controller";
24+
license = lib.licenses.gpl3Only;
25+
maintainers = with lib.maintainers; [ zimward ];
26+
platforms = lib.platforms.linux;
27+
mainProgram = "pid-fan-controller";
28+
};
29+
}

0 commit comments

Comments
 (0)