nixpkgs/pkgs/tools/system/openipmi/default.nix

30 lines
944 B
Nix
Raw Normal View History

2021-08-03 21:21:43 +00:00
{ stdenv, fetchurl, popt, ncurses, python3, readline, lib }:
stdenv.mkDerivation rec {
pname = "OpenIPMI";
version = "2.0.31";
src = fetchurl {
url = "mirror://sourceforge/openipmi/OpenIPMI-${version}.tar.gz";
sha256 = "05wpkn74nxqp5p6sa2yaf2ajrh8b0gfkb7y4r86lnigz4rvz6lkh";
};
2021-08-27 16:47:14 +00:00
patches = [
# fix assertion when used as a library in collectd
# taken from https://sourceforge.net/p/openipmi/code/ci/d613d279dbce2d5e4594f6fed39653d83af0d99b/
./fix-collectd-assertion.diff
];
2021-08-03 21:21:43 +00:00
buildInputs = [ ncurses popt python3 readline ];
outputs = [ "out" "lib" "dev" "man" ];
meta = with lib; {
homepage = "https://openipmi.sourceforge.io/";
description = "A user-level library that provides a higher-level abstraction of IPMI and generic services";
license = with licenses; [ gpl2Only lgpl2Only ];
platforms = platforms.linux;
maintainers = with maintainers; [ arezvov SuperSandro2000 ];
};
}