nbfc-linux: 0.3.19 -> 0.5.2 (#533449)

This commit is contained in:
Peder Bergebakken Sundt
2026-07-10 17:25:50 +00:00
committed by GitHub
+28 -8
View File
@@ -3,38 +3,58 @@
stdenv,
fetchFromGitHub,
autoreconfHook,
pkg-config,
lua5_4,
curl,
libxml2,
openssl,
nix-update-script,
versionCheckHook,
}:
stdenv.mkDerivation (finalAttrs: {
pname = "nbfc-linux";
version = "0.3.19";
version = "0.5.2";
src = fetchFromGitHub {
owner = "nbfc-linux";
repo = "nbfc-linux";
tag = finalAttrs.version;
hash = "sha256-ARUhm1K3A0bzVRen6VO3KvomkPl1S7vx2+tmg2ZtL8s=";
hash = "sha256-468/dFRjEgyJ0AW98wKq04WKZ4sZyzswBASSF6hyjVY=";
};
nativeBuildInputs = [ autoreconfHook ];
nativeBuildInputs = [
autoreconfHook
pkg-config
];
buildInputs = [ curl ];
buildInputs = [
lua5_4
curl
libxml2
openssl
];
configureFlags = [
"--prefix=${placeholder "out"}"
"--sysconfdir=${placeholder "out"}/etc"
"--bindir=${placeholder "out"}/bin"
];
passthru.updateScript = nix-update-script { };
nativeInstallCheckInputs = [ versionCheckHook ];
doInstallCheck = true;
meta = {
description = "C port of Stefan Hirschmann's NoteBook FanControl";
longDescription = ''
nbfc-linux provides fan control service for notebooks
'';
homepage = "https://github.com/nbfc-linux/nbfc-linux";
license = lib.licenses.gpl3;
maintainers = [ lib.maintainers.Celibistrial ];
license = lib.licenses.gpl3Only;
maintainers = with lib.maintainers; [
Celibistrial
bohanubis
];
mainProgram = "nbfc";
platforms = lib.platforms.linux;
};