python3Packages.h5netcdf: init at 0.8.0
commitef5faff8c6960020a7fce841325091f114f945df
authorFrederik Rietdijk <fridh@fridh.nl>
dateWed 27 May 2020, 13:58 (6 years ago)
parent7a056d4
pkgs/development/python-modules/h5netcdf/default.nixnew file+38
@@ -0,0 +1,38 @@
1+{ lib
2+, buildPythonPackage
3+, fetchPypi
4+, h5py
5+, pytestCheckHook
6+, netcdf4
7+, pythonOlder
8+}:
9+
10+buildPythonPackage rec {
11+ pname = "h5netcdf";
12+ version = "0.8.0";
13+
14+ src = fetchPypi {
15+ inherit pname version;
16+ sha256 = "b0df12f4692817cf6d8e2fca95f689e61aa68f2f39aea90fd1790fe5ac8d2cbb";
17+ };
18+
19+ propagatedBuildInputs = [
20+ h5py
21+ ];
22+
23+ checkInputs = [
24+ pytestCheckHook
25+ netcdf4
26+ ];
27+
28+ disabled = pythonOlder "3.6";
29+
30+ dontUseSetuptoolsCheck = true;
31+
32+ meta = {
33+ description = "netCDF4 via h5py";
34+ homepage = https://github.com/shoyer/h5netcdf;
35+ license = lib.licenses.bsd3;
36+ };
37+
38+}
pkgs/top-level/python-packages.nix+2
@@ -799,6 +799,8 @@ in {
799799 hdf5 = pkgs.hdf5-mpi;
800800 };
801801
802+ h5netcdf = callPackage ../development/python-modules/h5netcdf { };
803+
802804 ha-ffmpeg = callPackage ../development/python-modules/ha-ffmpeg { };
803805
804806 habanero = callPackage ../development/python-modules/habanero { };