pynac: import patch to avoid deprecation warnings on python3.8

This commit is contained in:
Mauricio Collares 2020-11-30 10:08:37 -03:00
parent c46dcf470e
commit cf6364bed2

View File

@ -1,5 +1,6 @@
{ stdenv
, fetchFromGitHub
, fetchurl
, autoreconfHook
, pkgconfig
, flint
@ -33,6 +34,14 @@ stdenv.mkDerivation rec {
pkgconfig
];
patches = [
(fetchurl {
name = "py_ssize_t_clean.patch";
url = "https://git.sagemath.org/sage.git/plain/build/pkgs/pynac/patches/py_ssize_t_clean.patch?h=9.2";
sha256 = "0l3gbg9hc4v671zf4w376krnk3wh8hj3649610nlvzzxckcryzab";
})
];
meta = with stdenv.lib; {
description = "Python is Not a CAS -- modified version of Ginac";
longDescription = ''