depot/third_party/nixpkgs/pkgs/development/libraries/mpir/default.nix
Default email a97b1c8da0 Project import generated by Copybara.
GitOrigin-RevId: d235056d6d6dcbd2999bd55fd120d831d4df6304
2021-04-22 04:08:21 +02:00

26 lines
714 B
Nix

{ lib, stdenv, fetchurl, m4, which, yasm }:
stdenv.mkDerivation rec {
pname = "mpir";
version = "3.0.0";
nativeBuildInputs = [ m4 which yasm ];
src = fetchurl {
url = "https://mpir.org/mpir-${version}.tar.bz2";
sha256 = "1fvmhrqdjs925hzr2i8bszm50h00gwsh17p2kn2pi51zrxck9xjj";
};
configureFlags = [ "--enable-cxx" "--enable-fat" ];
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;
downloadPage = "https://mpir.org/downloads.html";
homepage = "https://mpir.org/";
updateWalker = true;
};
}