ipmitool: add enterprise-numbers file
This commit is contained in:
parent
8009798849
commit
18f5a88386
1 changed files with 11 additions and 3 deletions
|
@ -1,6 +1,13 @@
|
|||
{ stdenv, lib, fetchFromGitHub, autoreconfHook, openssl, readline }:
|
||||
{ stdenv, lib, fetchFromGitHub, autoreconfHook, openssl, readline, fetchurl }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
let
|
||||
|
||||
iana-enterprise-numbers = fetchurl {
|
||||
url = "https://web.archive.org/web/20230312103209id_/https://www.iana.org/assignments/enterprise-numbers.txt";
|
||||
sha256 = "sha256-huFWygMEylBKBMLV16UE6xLWP6Aw1FGYk5h1q5CErUs=";
|
||||
};
|
||||
|
||||
in stdenv.mkDerivation rec {
|
||||
pname = "ipmitool";
|
||||
version = "1.8.19";
|
||||
|
||||
|
@ -16,7 +23,8 @@ stdenv.mkDerivation rec {
|
|||
|
||||
postPatch = ''
|
||||
substituteInPlace configure.ac \
|
||||
--replace 'AC_MSG_WARN([** Neither wget nor curl could be found.])' 'AM_CONDITIONAL([DOWNLOAD], [false])'
|
||||
--replace 'AC_MSG_WARN([** Neither wget nor curl could be found.])' 'AM_CONDITIONAL([DOWNLOAD], [true])'
|
||||
cp ${iana-enterprise-numbers} enterprise-numbers
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
|
|
Loading…
Reference in a new issue