python3Packages.h5netcdf: init at 0.8.0
This commit is contained in:
parent
7a056d4cb1
commit
ef5faff8c6
2 changed files with 40 additions and 0 deletions
38
pkgs/development/python-modules/h5netcdf/default.nix
Normal file
38
pkgs/development/python-modules/h5netcdf/default.nix
Normal file
|
@ -0,0 +1,38 @@
|
|||
{ lib
|
||||
, buildPythonPackage
|
||||
, fetchPypi
|
||||
, h5py
|
||||
, pytestCheckHook
|
||||
, netcdf4
|
||||
, pythonOlder
|
||||
}:
|
||||
|
||||
buildPythonPackage rec {
|
||||
pname = "h5netcdf";
|
||||
version = "0.8.0";
|
||||
|
||||
src = fetchPypi {
|
||||
inherit pname version;
|
||||
sha256 = "b0df12f4692817cf6d8e2fca95f689e61aa68f2f39aea90fd1790fe5ac8d2cbb";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = [
|
||||
h5py
|
||||
];
|
||||
|
||||
checkInputs = [
|
||||
pytestCheckHook
|
||||
netcdf4
|
||||
];
|
||||
|
||||
disabled = pythonOlder "3.6";
|
||||
|
||||
dontUseSetuptoolsCheck = true;
|
||||
|
||||
meta = {
|
||||
description = "netCDF4 via h5py";
|
||||
homepage = https://github.com/shoyer/h5netcdf;
|
||||
license = lib.licenses.bsd3;
|
||||
};
|
||||
|
||||
}
|
|
@ -799,6 +799,8 @@ in {
|
|||
hdf5 = pkgs.hdf5-mpi;
|
||||
};
|
||||
|
||||
h5netcdf = callPackage ../development/python-modules/h5netcdf { };
|
||||
|
||||
ha-ffmpeg = callPackage ../development/python-modules/ha-ffmpeg { };
|
||||
|
||||
habanero = callPackage ../development/python-modules/habanero { };
|
||||
|
|
Loading…
Reference in a new issue