Loading pkgs/development/python-modules/gmpy/default.nix +5 −2 Original line number Diff line number Diff line { buildPythonPackage, fetchurl, isPyPy, gmp } : { buildPythonPackage, fetchurl, isPyPy, gmp, pythonAtLeast } : let pname = "gmpy"; Loading @@ -8,7 +8,10 @@ in buildPythonPackage { inherit pname version; disabled = isPyPy; # Python 3.11 has finally made changes to its C API for which gmpy 1.17, # published in 2013, would require patching. It seems unlikely that any # patches will be forthcoming. disabled = isPyPy || pythonAtLeast "3.11"; src = fetchurl { url = "mirror://pypi/g/gmpy/${pname}-${version}.zip"; Loading Loading
pkgs/development/python-modules/gmpy/default.nix +5 −2 Original line number Diff line number Diff line { buildPythonPackage, fetchurl, isPyPy, gmp } : { buildPythonPackage, fetchurl, isPyPy, gmp, pythonAtLeast } : let pname = "gmpy"; Loading @@ -8,7 +8,10 @@ in buildPythonPackage { inherit pname version; disabled = isPyPy; # Python 3.11 has finally made changes to its C API for which gmpy 1.17, # published in 2013, would require patching. It seems unlikely that any # patches will be forthcoming. disabled = isPyPy || pythonAtLeast "3.11"; src = fetchurl { url = "mirror://pypi/g/gmpy/${pname}-${version}.zip"; Loading