Skip to content

Commit

Permalink
mpir: add patch to account for sed update
Browse files Browse the repository at this point in the history
  • Loading branch information
globin committed Jan 19, 2017
1 parent f4bff9d commit 0f86750
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions pkgs/development/libraries/mpir/default.nix
@@ -1,12 +1,21 @@
{stdenv, fetchurl, m4}:
{ stdenv, fetchurl, fetchpatch, m4 }:

stdenv.mkDerivation rec {
name = "mpir-${version}";
version = "2.7.2";
buildInputs = [m4];

buildInputs = [ m4 ];

src = fetchurl {
url = "http://mpir.org/mpir-${version}.tar.bz2";
sha256 = "1v25dx7cah2vxwzgq78hpzqkryrfxhwx3mcj3jjq3xxljlsw7m57";
};

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'';
Expand Down

0 comments on commit 0f86750

Please sign in to comment.