1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-21 05:25:38 +00:00
nixpkgs/pkgs/development/libraries/mpir/default.nix

25 lines
695 B
Nix
Raw Normal View History

2017-03-09 14:34:06 +00:00
{ stdenv, fetchurl, fetchpatch, m4, which, yasm }:
2016-10-10 14:46:11 +01:00
stdenv.mkDerivation rec {
name = "mpir-${version}";
2017-03-09 14:34:06 +00:00
version = "3.0.0";
2017-03-09 14:34:06 +00:00
nativeBuildInputs = [ m4 which yasm ];
2016-10-10 14:46:11 +01:00
src = fetchurl {
url = "http://mpir.org/mpir-${version}.tar.bz2";
2017-03-09 14:34:06 +00:00
sha256 = "1fvmhrqdjs925hzr2i8bszm50h00gwsh17p2kn2pi51zrxck9xjj";
2016-10-10 14:46:11 +01:00
};
2016-10-10 14:46:11 +01: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];
platforms = stdenv.lib.platforms.linux;
downloadPage = "http://mpir.org/downloads.html";
homepage = http://mpir.org/;
2016-10-10 14:46:11 +01:00
updateWalker = true;
};
}