depot/third_party/nixpkgs/pkgs/os-specific/linux/fanctl/default.nix
Default email 5ca88bfbb9 Project import generated by Copybara.
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
2024-07-31 10:19:44 +00:00

24 lines
688 B
Nix

{ lib, fetchFromGitLab, rustPlatform }:
rustPlatform.buildRustPackage rec {
version = "0.6.4";
pname = "fanctl";
src = fetchFromGitLab {
owner = "mcoffin";
repo = pname;
rev = "v${version}";
hash = "sha256-XmawybmqRJ9Lj6ii8TZBFwqdQZVp0pOLN4xiSLkU/bw=";
};
cargoHash = "sha256-tj00DXQEqC/8+3uzTMWcph+1fNTTVZLSJbV/5lLFkFs=";
meta = with lib; {
description = "Replacement for fancontrol with more fine-grained control interface in its config file";
mainProgram = "fanctl";
homepage = "https://gitlab.com/mcoffin/fanctl";
license = licenses.gpl3Only;
maintainers = with maintainers; [ icewind1991 ];
platforms = platforms.linux;
};
}