blob: 3f9539e2af5f05f9b135ba76f0ba364ab3f7cb57 (
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
|
{
lib,
buildPythonPackage,
fetchPypi,
meson-python,
numpy,
python,
}:
buildPythonPackage rec {
pname = "scikit-fmm";
version = "2025.6.23";
pyproject = true;
src = fetchPypi {
pname = "scikit_fmm";
inherit version;
hash = "sha256-oyCPXziB5At4eNESG6ObjVfxvDj7Tl8NnRxmqbAH5E8=";
};
build-system = [ meson-python ];
dependencies = [ numpy ];
checkPhase = ''
runHook preCheck
# "Do not run the tests from the source directory"
mkdir testdir; cd testdir
(set -x
${python.interpreter} -c "import skfmm, sys; sys.exit(skfmm.test())"
)
runHook postCheck
'';
meta = {
description = "Python extension module which implements the fast marching method";
homepage = "https://github.com/scikit-fmm/scikit-fmm";
license = lib.licenses.bsd3;
maintainers = [ ];
};
}
|