nixpkgs/pkgs/development/libraries/mpir/default.nix

27 lines
709 B
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, m4, which, yasm }:
2016-10-10 15:46:11 +02:00
stdenv.mkDerivation rec {
pname = "mpir";
2017-03-09 15:34:06 +01:00
version = "3.0.0";
2017-03-09 15:34:06 +01:00
nativeBuildInputs = [ m4 which yasm ];
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
};
2021-04-17 23:44:56 +02:00
configureFlags = [ "--enable-cxx --enable-fat" ];
2016-10-10 15:46:11 +02:00
meta = {
inherit version;
description = "A highly optimised library for bignum arithmetic forked from GMP";
license = lib.licenses.lgpl3Plus;
maintainers = [lib.maintainers.raskin];
platforms = lib.platforms.unix;
2016-10-10 15:46:11 +02:00
downloadPage = "http://mpir.org/downloads.html";
homepage = "http://mpir.org/";
2016-10-10 15:46:11 +02:00
updateWalker = true;
};
}