python3Packages.mpmath: 1.3.0 -> 1.4.1

This commit is contained in:
Sigmanificient
2026-03-23 18:56:33 +01:00
parent e23feebdb9
commit e9852acde4
@@ -5,25 +5,31 @@
gmpy2,
isPyPy,
setuptools,
setuptools-scm,
pytestCheckHook,
pytest-xdist,
hypothesis,
pexpect,
# Reverse dependency
sage,
}:
buildPythonPackage rec {
buildPythonPackage (finalAttrs: {
pname = "mpmath";
version = "1.3.0";
format = "setuptools";
version = "1.4.1";
pyproject = true;
src = fetchFromGitHub {
owner = "mpmath";
repo = "mpmath";
tag = version;
hash = "sha256-9BGcaC3TyolGeO65/H42T/WQY6z5vc1h+MA+8MGFChU=";
tag = finalAttrs.version;
hash = "sha256-ykfKrpDri+4n9Y26S7nFl6nF0CV6V0A11ijmt8/apvg=";
};
nativeBuildInputs = [ setuptools ];
build-system = [
setuptools
setuptools-scm
];
optional-dependencies = {
gmpy = lib.optionals (!isPyPy) [ gmpy2 ];
@@ -33,7 +39,12 @@ buildPythonPackage rec {
inherit sage;
};
nativeCheckInputs = [ pytestCheckHook ];
nativeCheckInputs = [
pytestCheckHook
pytest-xdist
hypothesis
pexpect
];
meta = {
homepage = "https://mpmath.org/";
@@ -42,4 +53,4 @@ buildPythonPackage rec {
maintainers = [ ];
platforms = lib.platforms.unix;
};
}
})