Merge pull request #119126 from fabaff/pycomfoconnect
[NixPkgs.git] / pkgs / development / python-modules / gmpy / default.nix
blobc0522587724a01dd44c6923a690b74079e03861f
1 { buildPythonPackage, fetchurl, isPyPy, gmp } :
3 let
4   pname = "gmpy";
5   version = "1.17";
6 in
8 buildPythonPackage {
9   inherit pname version;
11   disabled = isPyPy;
13   src = fetchurl {
14     url = "mirror://pypi/g/gmpy/${pname}-${version}.zip";
15     sha256 = "1a79118a5332b40aba6aa24b051ead3a31b9b3b9642288934da754515da8fa14";
16   };
18   buildInputs = [ gmp ];
20   meta = {
21     description = "GMP or MPIR interface to Python 2.4+ and 3.x";
22     homepage = "https://github.com/aleaxit/gmpy/";
23   };