Merge pull request #119791 from polygon/mpir

mpir: Add --enable-fat build option
This commit is contained in:
Michael Raskin 2021-04-19 13:08:08 +00:00 committed by GitHub
commit bf7940d1a8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -7,11 +7,11 @@ stdenv.mkDerivation rec {
nativeBuildInputs = [ m4 which yasm ]; nativeBuildInputs = [ m4 which yasm ];
src = fetchurl { src = fetchurl {
url = "http://mpir.org/mpir-${version}.tar.bz2"; url = "https://mpir.org/mpir-${version}.tar.bz2";
sha256 = "1fvmhrqdjs925hzr2i8bszm50h00gwsh17p2kn2pi51zrxck9xjj"; sha256 = "1fvmhrqdjs925hzr2i8bszm50h00gwsh17p2kn2pi51zrxck9xjj";
}; };
configureFlags = [ "--enable-cxx" ]; configureFlags = [ "--enable-cxx" "--enable-fat" ];
meta = { meta = {
inherit version; inherit version;
@ -19,8 +19,8 @@ stdenv.mkDerivation rec {
license = lib.licenses.lgpl3Plus; license = lib.licenses.lgpl3Plus;
maintainers = [lib.maintainers.raskin]; maintainers = [lib.maintainers.raskin];
platforms = lib.platforms.unix; platforms = lib.platforms.unix;
downloadPage = "http://mpir.org/downloads.html"; downloadPage = "https://mpir.org/downloads.html";
homepage = "http://mpir.org/"; homepage = "https://mpir.org/";
updateWalker = true; updateWalker = true;
}; };
} }