nixpkgs/pkgs/development/python-modules/meshio/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

48 lines
732 B
Nix
Raw Normal View History

2021-02-26 02:02:38 +00:00
{ lib
, buildPythonPackage
, fetchPypi
, numpy
, netcdf4
, h5py
, exdown
, pytestCheckHook
, rich
, setuptools
2021-02-26 02:02:38 +00:00
}:
buildPythonPackage rec {
pname = "meshio";
version = "5.3.4";
2021-02-26 02:02:38 +00:00
format = "pyproject";
src = fetchPypi {
inherit pname version;
sha256 = "sha256-4kBpLX/yecErE8bl17QDYpqGrStE6SMJWLPwDB7DafA=";
2021-02-26 02:02:38 +00:00
};
nativeBuildInputs = [
setuptools
];
2021-02-26 02:02:38 +00:00
propagatedBuildInputs = [
numpy
netcdf4
h5py
rich
2021-02-26 02:02:38 +00:00
];
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 ];
};
}