16 inherit pname version;
20 src = fetchFromGitHub {
23 rev = "gmpy2-${version}";
24 sha256 = "sha256-ARCttNzRA+Ji2j2NYaSCDXgvoEg01T9BnYadyqON2o0=";
27 buildInputs = [ gmp mpfr libmpc ];
29 pythonImportsCheck = [ "gmpy2" ];
32 description = "GMP/MPIR, MPFR, and MPC interface to Python 2.6+ and 3.x";
33 homepage = "https://github.com/aleaxit/gmpy/";
34 license = licenses.gpl3Plus;