Commit 985286d4 authored by Ryan Hendrickson's avatar Ryan Hendrickson
Browse files

python311Packages.gmpy: disable

parent 93a8a876
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
{ buildPythonPackage, fetchurl, isPyPy, gmp } :
{ buildPythonPackage, fetchurl, isPyPy, gmp, pythonAtLeast } :

let
  pname = "gmpy";
@@ -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";