Unverified Commit eb333540 authored by zimward's avatar zimward
Browse files

pid-fan-controller: init at 0.1.1

parent c2b72304
Loading
Loading
Loading
Loading
+29 −0
Original line number Diff line number Diff line
{
  rustPlatform,
  fetchFromGitHub,
  lib,
}:
let
  version = "0.1.1";
in
rustPlatform.buildRustPackage {
  pname = "pid-fan-controller";
  inherit version;

  src = fetchFromGitHub {
    owner = "zimward";
    repo = "pid-fan-controller";
    rev = version;
    hash = "sha256-ALR9Qa0AhcGyc3+7x5CEG/72+bJzhaEoIvQNL+QjldY=";
  };
  cargoHash = "sha256-u1Y1k1I5gRzpDHhRJZCCtMTwAvtCaIy3uXQTvmtEx5w=";

  meta = {
    description = "Service to provide closed-loop PID fan control";
    homepage = "https://github.com/zimward/pid-fan-controller";
    license = lib.licenses.gpl3Only;
    maintainers = with lib.maintainers; [ zimward ];
    platforms = lib.platforms.linux;
    mainProgram = "pid-fan-controller";
  };
}