at 18.03-beta 24 lines 695 B view raw
1{ stdenv, fetchurl, fetchpatch, m4, which, yasm }: 2 3stdenv.mkDerivation rec { 4 name = "mpir-${version}"; 5 version = "3.0.0"; 6 7 nativeBuildInputs = [ m4 which yasm ]; 8 9 src = fetchurl { 10 url = "http://mpir.org/mpir-${version}.tar.bz2"; 11 sha256 = "1fvmhrqdjs925hzr2i8bszm50h00gwsh17p2kn2pi51zrxck9xjj"; 12 }; 13 14 meta = { 15 inherit version; 16 description = ''A highly optimised library for bignum arithmetic forked from GMP''; 17 license = stdenv.lib.licenses.lgpl3Plus; 18 maintainers = [stdenv.lib.maintainers.raskin]; 19 platforms = stdenv.lib.platforms.linux; 20 downloadPage = "http://mpir.org/downloads.html"; 21 homepage = http://mpir.org/; 22 updateWalker = true; 23 }; 24}