Clone of https://github.com/NixOS/nixpkgs.git (to stress-test knotserver)
at 20.09 592 B view raw
1{ lib 2, buildPythonPackage 3, fetchPypi 4, h5py 5, pytestCheckHook 6, netcdf4 7, pythonOlder 8}: 9 10buildPythonPackage rec { 11 pname = "h5netcdf"; 12 version = "0.8.1"; 13 14 src = fetchPypi { 15 inherit pname version; 16 sha256 = "09bbnpsvwksb07wijn7flyyza56h5b2g2cw0hb3slmwxz6cgcjmr"; 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}