From 3589e08ac5515198986b27076fde8274f848a3b0 Mon Sep 17 00:00:00 2001 From: Michael Raskin <7c6f434c@mail.ru> Date: Thu, 9 Mar 2017 15:34:06 +0100 Subject: [PATCH] mpir: 2.7.2 -> 3.0.0 --- pkgs/development/libraries/mpir/default.nix | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/pkgs/development/libraries/mpir/default.nix b/pkgs/development/libraries/mpir/default.nix index 142bd93fe525..4bfd43508317 100644 --- a/pkgs/development/libraries/mpir/default.nix +++ b/pkgs/development/libraries/mpir/default.nix @@ -1,21 +1,16 @@ -{ stdenv, fetchurl, fetchpatch, m4 }: +{ stdenv, fetchurl, fetchpatch, m4, which, yasm }: stdenv.mkDerivation rec { name = "mpir-${version}"; - version = "2.7.2"; + version = "3.0.0"; - buildInputs = [ m4 ]; + nativeBuildInputs = [ m4 which yasm ]; src = fetchurl { url = "http://mpir.org/mpir-${version}.tar.bz2"; - sha256 = "1v25dx7cah2vxwzgq78hpzqkryrfxhwx3mcj3jjq3xxljlsw7m57"; + sha256 = "1fvmhrqdjs925hzr2i8bszm50h00gwsh17p2kn2pi51zrxck9xjj"; }; - patches = [ (fetchpatch { - url = "https://github.com/wbhart/mpir/commit/fdb590023f7ca4b2e881a2e9573718e7ed180f03.patch"; - sha256 = "152pdqpf8xxr4ky25f9zrvfb66i1wzy6a5b91h4zmpqjdffqf1iw"; - }) ]; - meta = { inherit version; description = ''A highly optimised library for bignum arithmetic forked from GMP'';