1{ lib
2, buildPythonPackage
3, fetchPypi
4, numpy
5, netcdf4
6, h5py
7, exdown
8, pytestCheckHook
9}:
10
11buildPythonPackage rec {
12 pname = "meshio";
13 version = "4.4.6";
14 format = "pyproject";
15
16 src = fetchPypi {
17 inherit pname version;
18 sha256 = "0kv832s2vyff30zz8yqypw5jifwdanvh5x56d2bzkvy94h4jlddy";
19 };
20
21 propagatedBuildInputs = [
22 numpy
23 netcdf4
24 h5py
25 ];
26
27 checkInputs = [
28 exdown
29 pytestCheckHook
30 ];
31
32 pythonImportsCheck = ["meshio"];
33
34 meta = with lib; {
35 homepage = "https://github.com/nschloe/meshio";
36 description = "I/O for mesh files.";
37 license = licenses.mit;
38 maintainers = with maintainers; [ wd15 ];
39 };
40}