gmpy2: 2.1a4 -> 2.1.0b5

This commit is contained in:
Mauricio Collares 2020-11-30 10:02:34 -03:00
parent 5df948d4cc
commit e1998b1c5c

View File

@ -10,7 +10,7 @@
let
pname = "gmpy2";
version = "2.1a4";
version = "2.1.0b5";
in
buildPythonPackage {
@ -22,20 +22,9 @@ buildPythonPackage {
owner = "aleaxit";
repo = "gmpy";
rev = "gmpy2-${version}";
sha256 = "1wg4w4q2l7n26ksrdh4rwqmifgfm32n7x29cgdvmmbv5lmilb5hz";
sha256 = "1mqzyp7qwqqyk6jbicgx22svdy2106xwhmhfvdf0vpnmwswcxclb";
};
patches = [
# Backport of two bugfixes (including a segfault):
# https://github.com/aleaxit/gmpy/pull/217
# https://github.com/aleaxit/gmpy/pull/218
(fetchpatch {
name = "bugfixes.patch";
url = "https://git.sagemath.org/sage.git/plain/build/pkgs/gmpy2/patches/PR217_PR218_conversion_methods.patch?id=b7fbb9a4dac5d6882f6b83a57447dd79ecafb84c";
sha256 = "1x3gwvqac36k4ypclxq37fcvi6p790k4xdpm2bj2b3xsvjb80ycz";
})
];
buildInputs = [ gmp mpfr libmpc ];
meta = with stdenv.lib; {