mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
pythonPackages.meshio: init at 4.3.10
This commit is contained in:
parent
c2df575c6c
commit
ed626755b2
2 changed files with 42 additions and 0 deletions
40
pkgs/development/python-modules/meshio/default.nix
Normal file
40
pkgs/development/python-modules/meshio/default.nix
Normal file
|
@ -0,0 +1,40 @@
|
|||
{ 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 ];
|
||||
};
|
||||
}
|
|
@ -4058,6 +4058,8 @@ in {
|
|||
|
||||
mesa = callPackage ../development/python-modules/mesa { };
|
||||
|
||||
meshio = callPackage ../development/python-modules/meshio { };
|
||||
|
||||
meshlabxml = callPackage ../development/python-modules/meshlabxml { };
|
||||
|
||||
meson = disabledIf (pythonOlder "3.5") (toPythonModule ((pkgs.meson.override { python3 = python; }).overrideAttrs
|
||||
|
|
Loading…
Reference in a new issue