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