tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
pid-fan-controller: init at 0.1.1
zimward
1 year ago
eb333540
c2b72304
+29
1 changed file
expand all
collapse all
unified
split
pkgs
by-name
pi
pid-fan-controller
package.nix
+29
pkgs/by-name/pi/pid-fan-controller/package.nix
···
1
1
+
{
2
2
+
rustPlatform,
3
3
+
fetchFromGitHub,
4
4
+
lib,
5
5
+
}:
6
6
+
let
7
7
+
version = "0.1.1";
8
8
+
in
9
9
+
rustPlatform.buildRustPackage {
10
10
+
pname = "pid-fan-controller";
11
11
+
inherit version;
12
12
+
13
13
+
src = fetchFromGitHub {
14
14
+
owner = "zimward";
15
15
+
repo = "pid-fan-controller";
16
16
+
rev = version;
17
17
+
hash = "sha256-ALR9Qa0AhcGyc3+7x5CEG/72+bJzhaEoIvQNL+QjldY=";
18
18
+
};
19
19
+
cargoHash = "sha256-u1Y1k1I5gRzpDHhRJZCCtMTwAvtCaIy3uXQTvmtEx5w=";
20
20
+
21
21
+
meta = {
22
22
+
description = "Service to provide closed-loop PID fan control";
23
23
+
homepage = "https://github.com/zimward/pid-fan-controller";
24
24
+
license = lib.licenses.gpl3Only;
25
25
+
maintainers = with lib.maintainers; [ zimward ];
26
26
+
platforms = lib.platforms.linux;
27
27
+
mainProgram = "pid-fan-controller";
28
28
+
};
29
29
+
}