at 24.05-pre 23 lines 664 B view raw
1{ lib, fetchFromGitLab, rustPlatform }: 2 3rustPlatform.buildRustPackage rec { 4 version = "0.6.4"; 5 pname = "fanctl"; 6 7 src = fetchFromGitLab { 8 owner = "mcoffin"; 9 repo = pname; 10 rev = "v${version}"; 11 sha256 = "sha256-XmawybmqRJ9Lj6ii8TZBFwqdQZVp0pOLN4xiSLkU/bw="; 12 }; 13 14 cargoSha256 = "sha256-tj00DXQEqC/8+3uzTMWcph+1fNTTVZLSJbV/5lLFkFs="; 15 16 meta = with lib; { 17 description = "Replacement for fancontrol with more fine-grained control interface in its config file"; 18 homepage = "https://gitlab.com/mcoffin/fanctl"; 19 license = licenses.gpl3Only; 20 maintainers = with maintainers; [ icewind1991 ]; 21 platforms = platforms.linux; 22 }; 23}