depot/third_party/nixpkgs/pkgs/development/python-modules/meshio/default.nix
Default email 75ca762b89 Project import generated by Copybara.
GitOrigin-RevId: 29b0d4d0b600f8f5dd0b86e3362a33d4181938f9
2021-03-09 11:18:52 +08:00

40 lines
660 B
Nix

{ lib
, buildPythonPackage
, fetchPypi
, numpy
, netcdf4
, h5py
, exdown
, pytestCheckHook
}:
buildPythonPackage rec {
pname = "meshio";
version = "4.3.10";
format = "pyproject";
src = fetchPypi {
inherit pname version;
sha256 = "1i34bk8bbc0dnizrlgj0yxnbzyvndkmnl6ryymxgcl9rv1abkfki";
};
propagatedBuildInputs = [
numpy
netcdf4
h5py
];
checkInputs = [
exdown
pytestCheckHook
];
pythonImportsCheck = ["meshio"];
meta = with lib; {
homepage = "https://github.com/nschloe/meshio";
description = "I/O for mesh files.";
license = licenses.mit;
maintainers = with maintainers; [ wd15 ];
};
}