mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-21 05:04:00 +00:00
39 lines
592 B
Nix
39 lines
592 B
Nix
{ lib
|
|
, buildPythonPackage
|
|
, fetchPypi
|
|
, h5py
|
|
, pytestCheckHook
|
|
, netcdf4
|
|
, pythonOlder
|
|
}:
|
|
|
|
buildPythonPackage rec {
|
|
pname = "h5netcdf";
|
|
version = "0.8.1";
|
|
|
|
src = fetchPypi {
|
|
inherit pname version;
|
|
sha256 = "09bbnpsvwksb07wijn7flyyza56h5b2g2cw0hb3slmwxz6cgcjmr";
|
|
};
|
|
|
|
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;
|
|
};
|
|
|
|
}
|