mpfi: use autoreconfHook

This commit is contained in:
Eduardo Sánchez Muñoz 2021-04-27 18:33:48 +02:00
parent ba6f0e8f03
commit 088b3db523
1 changed files with 2 additions and 6 deletions

View File

@ -1,4 +1,4 @@
{lib, stdenv, fetchurl, autoconf, automake, libtool, texinfo, mpfr}: {lib, stdenv, fetchurl, autoreconfHook, texinfo, mpfr}:
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
pname = "mpfi"; pname = "mpfi";
version = "1.5.4"; version = "1.5.4";
@ -12,13 +12,9 @@ stdenv.mkDerivation rec {
sha256 = "sha256-Ozk4WV1yCvF5c96vcnz8DdQcixbCCtwQOpcPSkOuOlY="; sha256 = "sha256-Ozk4WV1yCvF5c96vcnz8DdQcixbCCtwQOpcPSkOuOlY=";
}; };
nativeBuildInputs = [ autoconf automake libtool texinfo ]; nativeBuildInputs = [ autoreconfHook texinfo ];
buildInputs = [ mpfr ]; buildInputs = [ mpfr ];
preConfigure = ''
./autogen.sh
'';
meta = { meta = {
inherit version; inherit version;
description = "A multiple precision interval arithmetic library based on MPFR"; description = "A multiple precision interval arithmetic library based on MPFR";