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