blob: 13b538f12fa17a61f1ff72a6c165ab7bb1ac4439 (
about) (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
cython,
setuptools,
mpi,
pytestCheckHook,
mpiCheckPhaseHook,
}:
buildPythonPackage rec {
pname = "mpi4py";
version = "4.0.3";
pyproject = true;
src = fetchFromGitHub {
repo = "mpi4py";
owner = "mpi4py";
tag = version;
hash = "sha256-eN/tjlnNla6RHYOXcprVVqtec1nwCEGn+MBcV/5mHJg=";
};
build-system = [
cython
setuptools
];
nativeBuildInputs = [
mpi
];
dependencies = [
mpi
];
pythonImportsCheck = [ "mpi4py" ];
__darwinAllowLocalNetworking = true;
nativeCheckInputs = [
pytestCheckHook
mpiCheckPhaseHook
];
passthru = {
inherit mpi;
};
meta = {
description = "Python bindings for the Message Passing Interface standard";
homepage = "https://github.com/mpi4py/mpi4py";
changelog = "https://github.com/mpi4py/mpi4py/blob/${src.tag}/CHANGES.rst";
license = lib.licenses.bsd2;
maintainers = with lib.maintainers; [ doronbehar ];
};
}
|