pid-fan-controller: init at 0.1.1

+29
+29
pkgs/by-name/pi/pid-fan-controller/package.nix
··· 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 + }