Merge pull request #120614 from eduardosm/mpfi

mpfi: fix download URL

authored by

Michael Raskin and committed by
GitHub
8931b667 dda86e6d

+13 -5
+13 -5
pkgs/development/libraries/mpfi/default.nix
··· 1 - {lib, stdenv, fetchurl, mpfr}: 1 + {lib, stdenv, fetchurl, autoconf, automake, libtool, texinfo, mpfr}: 2 2 stdenv.mkDerivation rec { 3 3 pname = "mpfi"; 4 4 version = "1.5.4"; 5 - file_nr = "37331"; 5 + file_nr = "38111"; 6 + 6 7 src = fetchurl { 7 8 # NOTE: the file_nr is whats important here. The actual package name (including the version) 8 9 # is ignored. To find out the correct file_nr, go to https://gforge.inria.fr/projects/mpfi/ 9 10 # and click on Download in the section "Latest File Releases". 10 - url = "https://gforge.inria.fr/frs/download.php/file/${file_nr}/mpfi-${version}.tar.bz2"; 11 - sha256 = "sha256-I4PUV7IIxs088uZracTOR0d7Kg2zH77AzUseuqJHGS8="; 11 + url = "https://gforge.inria.fr/frs/download.php/file/${file_nr}/mpfi-${version}.tgz"; 12 + sha256 = "sha256-Ozk4WV1yCvF5c96vcnz8DdQcixbCCtwQOpcPSkOuOlY="; 12 13 }; 13 - buildInputs = [mpfr]; 14 + 15 + nativeBuildInputs = [ autoconf automake libtool texinfo ]; 16 + buildInputs = [ mpfr ]; 17 + 18 + preConfigure = '' 19 + ./autogen.sh 20 + ''; 21 + 14 22 meta = { 15 23 inherit version; 16 24 description = "A multiple precision interval arithmetic library based on MPFR";