2018-07-21 02:44:44 +02:00
|
|
|
{ stdenv, fetchurl, m4, which, yasm }:
|
2017-01-20 00:15:53 +01:00
|
|
|
|
2016-10-10 15:46:11 +02:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "mpir";
|
2017-03-09 15:34:06 +01:00
|
|
|
version = "3.0.0";
|
2017-01-20 00:15:53 +01:00
|
|
|
|
2017-03-09 15:34:06 +01:00
|
|
|
nativeBuildInputs = [ m4 which yasm ];
|
2017-01-20 00:15:53 +01:00
|
|
|
|
2016-10-10 15:46:11 +02:00
|
|
|
src = fetchurl {
|
|
|
|
url = "http://mpir.org/mpir-${version}.tar.bz2";
|
2017-03-09 15:34:06 +01:00
|
|
|
sha256 = "1fvmhrqdjs925hzr2i8bszm50h00gwsh17p2kn2pi51zrxck9xjj";
|
2016-10-10 15:46:11 +02:00
|
|
|
};
|
2017-01-20 00:15:53 +01:00
|
|
|
|
2018-04-27 15:52:00 +02:00
|
|
|
configureFlags = [ "--enable-cxx" ];
|
|
|
|
|
2016-10-10 15:46:11 +02:00
|
|
|
meta = {
|
|
|
|
inherit version;
|
|
|
|
description = ''A highly optimised library for bignum arithmetic forked from GMP'';
|
|
|
|
license = stdenv.lib.licenses.lgpl3Plus;
|
|
|
|
maintainers = [stdenv.lib.maintainers.raskin];
|
2018-08-14 04:47:57 +02:00
|
|
|
platforms = stdenv.lib.platforms.unix;
|
2016-10-10 15:46:11 +02:00
|
|
|
downloadPage = "http://mpir.org/downloads.html";
|
2017-08-01 22:03:30 +02:00
|
|
|
homepage = http://mpir.org/;
|
2016-10-10 15:46:11 +02:00
|
|
|
updateWalker = true;
|
|
|
|
};
|
|
|
|
}
|