Files
nixpkgs/pkgs/by-name/fr/freeipmi/package.nix
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

69 lines
2.0 KiB
Nix

{
buildPackages,
fetchurl,
lib,
stdenv,
libgcrypt,
readline,
libgpg-error,
}:
stdenv.mkDerivation rec {
version = "1.6.16";
pname = "freeipmi";
src = fetchurl {
url = "mirror://gnu/freeipmi/${pname}-${version}.tar.gz";
sha256 = "sha256-W872u562gOSbSjYjV5kwrOeJn1OSWyBF/p+RrWkEER0=";
};
depsBuildBuild = [ buildPackages.stdenv.cc ];
buildInputs = [
libgcrypt
readline
libgpg-error
];
configureFlags = [
# Device permissions are set by udev/kernel, so don't restrict them unnecessarily
"--with-dont-check-for-root"
]
++ lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) [
"ac_cv_file__dev_urandom=true"
"ac_cv_file__dev_random=true"
];
# Fix GCC 14 build.
# https://savannah.gnu.org/bugs/?65203
env.NIX_CFLAGS_COMPILE = "-Wno-error=implicit-function-declaration";
doCheck = true;
meta = {
description = "Implementation of the Intelligent Platform Management Interface";
longDescription = ''
GNU FreeIPMI provides in-band and out-of-band IPMI software based on
the IPMI v1.5/2.0 specification. The IPMI specification defines a
set of interfaces for platform management and is implemented by a
number vendors for system management. The features of IPMI that
most users will be interested in are sensor monitoring, system event
monitoring, power control, and serial-over-LAN (SOL). The FreeIPMI
tools and libraries listed below should provide users with the
ability to access and utilize these and many other features. A
number of useful features for large HPC or cluster environments have
also been implemented into FreeIPMI. See the README or FAQ for more
info.
'';
homepage = "https://www.gnu.org/software/freeipmi/";
downloadPage = "https://www.gnu.org/software/freeipmi/download.html";
license = lib.licenses.gpl3Plus;
maintainers = with lib.maintainers; [ raskin ];
platforms = lib.platforms.gnu ++ lib.platforms.linux; # arbitrary choice
};
}