af2649d00b
Semi-automatic update. These checks were performed: - built on NixOS - ran `/nix/store/baln3glisdn669gcqrpnbxin1i54wym8-ipmiutil-3.0.8/bin/idiscover help` got 0 exit code - found 3.0.8 in filename of file in /nix/store/baln3glisdn669gcqrpnbxin1i54wym8-ipmiutil-3.0.8 cc "@raskin"
32 lines
962 B
Nix
32 lines
962 B
Nix
{ stdenv, fetchurl, openssl }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
baseName = "ipmiutil";
|
|
version = "3.0.8";
|
|
name = "${baseName}-${version}";
|
|
|
|
src = fetchurl {
|
|
url = "mirror://sourceforge/project/${baseName}/${name}.tar.gz";
|
|
sha256 = "0pqi63v9l95px1k0dh68gmbd4pbbpwy0pcg6nr5bi0zy898if135";
|
|
};
|
|
|
|
buildInputs = [ openssl ];
|
|
|
|
preBuild = ''
|
|
sed -e "s@/usr@$out@g" -i Makefile */Makefile */*/Makefile
|
|
sed -e "s@/etc@$out/etc@g" -i Makefile */Makefile */*/Makefile
|
|
sed -e "s@/var@$out/var@g" -i Makefile */Makefile */*/Makefile
|
|
'';
|
|
|
|
NIX_CFLAGS_COMPILE = "-fno-stack-protector";
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "An easy-to-use IPMI server management utility";
|
|
homepage = http://ipmiutil.sourceforge.net/;
|
|
maintainers = with maintainers; [ raskin ];
|
|
platforms = platforms.linux;
|
|
license = licenses.bsd3;
|
|
downloadPage = "http://sourceforge.net/projects/ipmiutil/files/ipmiutil/";
|
|
inherit version;
|
|
};
|
|
}
|