1{
2 buildPythonPackage,
3 sundials,
4 cython,
5 numpy,
6 pkgconfig,
7 setuptools,
8 scikits-odes-core,
9 pytestCheckHook,
10}:
11
12buildPythonPackage rec {
13 inherit (scikits-odes-core) version src;
14 pname = "scikits-odes-sundials";
15 pyproject = true;
16
17 sourceRoot = "${src.name}/packages/scikits-odes-sundials";
18
19 build-system = [
20 cython
21 numpy
22 pkgconfig
23 setuptools
24 ];
25
26 buildInputs = [ sundials ];
27
28 dependencies = [
29 numpy
30 scikits-odes-core
31 ];
32
33 pythonImportsCheck = [ "scikits_odes_sundials" ];
34
35 nativeCheckInputs = [ pytestCheckHook ];
36
37 meta = scikits-odes-core.meta // {
38 description = "Sundials wrapper module for scikits-odes";
39 homepage = "https://github.com/bmcage/odes/blob/master/packages/scikits-odes-sundials";
40 };
41}