diff --git a/pkgs/development/python-modules/pyamg/default.nix b/pkgs/development/python-modules/pyamg/default.nix index 4a00b7de772b..da6f484b11f5 100644 --- a/pkgs/development/python-modules/pyamg/default.nix +++ b/pkgs/development/python-modules/pyamg/default.nix @@ -1,5 +1,6 @@ { lib, + stdenv, buildPythonPackage, fetchPypi, numpy, @@ -20,6 +21,14 @@ buildPythonPackage rec { hash = "sha256-UyPQ8aTNmZviRqkNWAyeHptYS5iIf2KY05dhEIfvhgs="; }; + # removed by next version, https://github.com/pyamg/pyamg/pull/420 + postPatch = '' + substituteInPlace pyproject.toml \ + --replace-fail \ + 'setuptools_scm[toml]==8.3.0' \ + 'setuptools_scm>=8.3.0' \ + ''; + nativeBuildInputs = [ setuptools-scm ]; propagatedBuildInputs = [ @@ -50,6 +59,7 @@ buildPythonPackage rec { homepage = "https://github.com/pyamg/pyamg"; changelog = "https://github.com/pyamg/pyamg/blob/v${version}/changelog.md"; license = lib.licenses.mit; - maintainers = [ ]; + maintainers = with lib.maintainers; [ stephen-huan ]; + broken = stdenv.hostPlatform.isDarwin && lib.versionAtLeast python.version "3.14"; }; }