blob: cf908f2a0e32e0f951d72382837363068e6133ed (
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
|
{
lib,
buildPythonPackage,
fetchFromGitHub,
setuptools,
mpi4py,
pytest,
pytestCheckHook,
mpiCheckPhaseHook,
}:
buildPythonPackage (finalAttrs: {
pname = "mpi-pytest";
version = "2025.7";
pyproject = true;
src = fetchFromGitHub {
owner = "firedrakeproject";
repo = "mpi-pytest";
tag = "v${finalAttrs.version}";
hash = "sha256-TZj1hObMVzYfAUC0UjXMvUThbKCNdiB1FMSA0AHjZ9s=";
};
build-system = [
setuptools
];
dependencies = [
mpi4py
pytest
];
pythonImportsCheck = [
"pytest_mpi"
];
nativeCheckInputs = [
pytestCheckHook
mpiCheckPhaseHook
mpi4py.mpi
];
__darwinAllowLocalNetworking = true;
meta = {
homepage = "https://github.com/firedrakeproject/mpi-pytest";
description = "Pytest plugin that lets you run tests in parallel with MPI";
changelog = "https://github.com/firedrakeproject/mpi-pytest/releases/tag/v${finalAttrs.version}";
license = lib.licenses.lgpl3Plus;
maintainers = with lib.maintainers; [ qbisi ];
};
})
|