mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-30 10:53:11 +00:00
ff1a94e523
The nixpkgs-unstable channel's programs.sqlite was used to identify packages producing exactly one binary, and these automatically added to their package definitions wherever possible.
25 lines
692 B
Nix
25 lines
692 B
Nix
{ lib, fetchFromGitLab, rustPlatform }:
|
|
|
|
rustPlatform.buildRustPackage rec {
|
|
version = "0.6.4";
|
|
pname = "fanctl";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "mcoffin";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-XmawybmqRJ9Lj6ii8TZBFwqdQZVp0pOLN4xiSLkU/bw=";
|
|
};
|
|
|
|
cargoSha256 = "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;
|
|
};
|
|
}
|