diff --git a/pkgs/development/python-modules/pyprecice/default.nix b/pkgs/development/python-modules/pyprecice/default.nix index 01b60f0e6ceb..574a91cc8e6e 100644 --- a/pkgs/development/python-modules/pyprecice/default.nix +++ b/pkgs/development/python-modules/pyprecice/default.nix @@ -5,9 +5,9 @@ # build-system cython, - pip, pkgconfig, setuptools, + setuptools-git-versioning, # dependencies mpi4py, @@ -17,38 +17,38 @@ buildPythonPackage rec { pname = "pyprecice"; - version = "3.2.1"; + version = "3.3.1"; pyproject = true; src = fetchFromGitHub { owner = "precice"; repo = "python-bindings"; tag = "v${version}"; - hash = "sha256-8AM2wbPX54UaMO4MzLOV0TljLTAPOqR9gUbtT2McNjs="; + hash = "sha256-NkTrMZ7UKB5O2jIlhLhgkOm8ZeWJA1FoursA1df7XOk="; }; - postPatch = '' - substituteInPlace pyproject.toml \ - --replace-fail "setuptools>=61,<72" "setuptools" - ''; - build-system = [ cython - pip pkgconfig setuptools + setuptools-git-versioning ]; dependencies = [ numpy mpi4py + ]; + + buildInputs = [ precice ]; - # Disable Test because everything depends on open mpi which requires network + # no official test instruction doCheck = false; - # Do not use pythonImportsCheck because this will also initialize mpi which requires a network interface + pythonImportsCheck = [ + "precice" + ]; meta = { description = "Python language bindings for preCICE";