mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-09-21 04:28:40 +03:00
ipmitool: add enterprise-numbers file
This commit is contained in:
parent
8009798849
commit
18f5a88386
@ -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 New Issue
Block a user