blob: 9293951d746819e8e0d3a8b49196bd4f253660fe (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
{ stdenv, lib, fetchFromGitHub, autoreconfHook, openssl, readline }:
stdenv.mkDerivation rec {
pname = "ipmitool";
version = "1.8.19";
src = fetchFromGitHub {
owner = pname;
repo = pname;
rev = "IPMITOOL_${lib.replaceStrings ["."] ["_"] version}";
hash = "sha256-VVYvuldRIHhaIUibed9cLX8Avfy760fdBLNO8MoUKCk=";
};
nativeBuildInputs = [ autoreconfHook ];
buildInputs = [ openssl readline ];
postPatch = ''
substituteInPlace configure.ac \
--replace 'AC_MSG_WARN([** Neither wget nor curl could be found.])' 'AM_CONDITIONAL([DOWNLOAD], [false])'
'';
meta = with lib; {
description = "Command-line interface to IPMI-enabled devices";
license = licenses.bsd3;
homepage = "https://github.com/ipmitool/ipmitool";
platforms = platforms.unix;
maintainers = with maintainers; [ fpletz ];
};
}
|