Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
1{ buildPackages, fetchurl, lib, stdenv, libgcrypt, readline, libgpg-error }: 2 3stdenv.mkDerivation rec { 4 version = "1.6.10"; 5 pname = "freeipmi"; 6 7 src = fetchurl { 8 url = "mirror://gnu/freeipmi/${pname}-${version}.tar.gz"; 9 sha256 = "sha256-/OSh5AG2GJwQPSsSAyYdC/v0WYXG8/pExRsYaxP+en0="; 10 }; 11 12 depsBuildBuild = [ buildPackages.stdenv.cc ]; 13 14 buildInputs = [ libgcrypt readline libgpg-error ]; 15 16 configureFlags = lib.optionals (stdenv.buildPlatform != stdenv.hostPlatform) 17 [ "ac_cv_file__dev_urandom=true" "ac_cv_file__dev_random=true" ]; 18 19 doCheck = true; 20 21 meta = { 22 description = "Implementation of the Intelligent Platform Management Interface"; 23 24 longDescription = 25 '' GNU FreeIPMI provides in-band and out-of-band IPMI software based on 26 the IPMI v1.5/2.0 specification. The IPMI specification defines a 27 set of interfaces for platform management and is implemented by a 28 number vendors for system management. The features of IPMI that 29 most users will be interested in are sensor monitoring, system event 30 monitoring, power control, and serial-over-LAN (SOL). The FreeIPMI 31 tools and libraries listed below should provide users with the 32 ability to access and utilize these and many other features. A 33 number of useful features for large HPC or cluster environments have 34 also been implemented into FreeIPMI. See the README or FAQ for more 35 info. 36 ''; 37 38 homepage = "https://www.gnu.org/software/freeipmi/"; 39 downloadPage = "https://www.gnu.org/software/freeipmi/download.html"; 40 41 license = lib.licenses.gpl3Plus; 42 43 maintainers = with lib.maintainers; [ raskin ]; 44 platforms = lib.platforms.gnu ++ lib.platforms.linux; # arbitrary choice 45 }; 46}