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