python312Packages.llm-gguf: init at 0.2 (#364926)
[NixPkgs.git] / pkgs / development / python-modules / pyprecice / default.nix
blobd3f663f081720c8af0f82776d7713f282b41d7aa
2   lib,
3   buildPythonPackage,
4   setuptools,
5   pip,
6   cython,
7   fetchFromGitHub,
8   mpi4py,
9   numpy,
10   precice,
11   pkgconfig,
12   pythonOlder,
15 buildPythonPackage rec {
16   pname = "pyprecice";
17   version = "3.1.2";
18   pyproject = true;
20   disabled = pythonOlder "3.7";
22   src = fetchFromGitHub {
23     owner = "precice";
24     repo = "python-bindings";
25     rev = "refs/tags/v${version}";
26     hash = "sha256-/atuMJVgvY4kgvrB+LuQZmJuSK4O8TJdguC7NCiRS2Y=";
27   };
29   nativeBuildInputs = [
30     setuptools
31     pip
32     cython
33     pkgconfig
34   ];
36   propagatedBuildInputs = [
37     numpy
38     mpi4py
39     precice
40   ];
42   # Disable Test because everything depends on open mpi which requires network
43   doCheck = false;
45   # Do not use pythonImportsCheck because this will also initialize mpi which requires a network interface
47   meta = with lib; {
48     description = "Python language bindings for preCICE";
49     homepage = "https://github.com/precice/python-bindings";
50     license = licenses.lgpl3Only;
51     maintainers = with maintainers; [ Scriptkiddi ];
52   };