My personal project and infrastructure archive
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nomicon/pkgs/development/python-modules/gmpy/default.nix

24 lines
489 B

{ buildPythonPackage, fetchurl, isPyPy, gmp } :
let
pname = "gmpy";
version = "1.17";
in
buildPythonPackage {
inherit pname version;
disabled = isPyPy;
src = fetchurl {
url = "mirror://pypi/g/gmpy/${pname}-${version}.zip";
sha256 = "1a79118a5332b40aba6aa24b051ead3a31b9b3b9642288934da754515da8fa14";
};
buildInputs = [ gmp ];
meta = {
description = "GMP or MPIR interface to Python 2.4+ and 3.x";
homepage = "https://github.com/aleaxit/gmpy/";
};
}