forked from mirrors/nixpkgs
pythonPackages.netcdf4: init at 1.1.8
This commit is contained in:
parent
8ac9c708b9
commit
ce50f2b398
|
@ -3965,6 +3965,41 @@ let
|
|||
};
|
||||
};
|
||||
|
||||
netcdf4 = buildPythonPackage rec {
|
||||
name = "netCDF4-${version}";
|
||||
version = "1.1.8";
|
||||
|
||||
disabled = isPyPy;
|
||||
|
||||
src = pkgs.fetchurl {
|
||||
url = "https://pypi.python.org/packages/source/n/netCDF4/${name}.tar.gz";
|
||||
sha256 = "0y6s8g82rbij0brh9hz3aapyyq6apj8fpmhhlyibz1354as7rjq1";
|
||||
};
|
||||
|
||||
propagatedBuildInputs = with self ; [
|
||||
numpy
|
||||
pkgs.zlib
|
||||
pkgs.netcdf
|
||||
pkgs.hdf5
|
||||
pkgs.curl
|
||||
pkgs.libjpeg
|
||||
];
|
||||
|
||||
patchPhase = ''
|
||||
export USE_NCCONFIG=0
|
||||
export HDF5_DIR="${pkgs.hdf5}"
|
||||
export NETCDF4_DIR="${pkgs.netcdf}"
|
||||
export CURL_DIR="${pkgs.curl}"
|
||||
export JPEG_DIR="${pkgs.libjpeg}"
|
||||
'';
|
||||
|
||||
meta = {
|
||||
description = "interface to netCDF library (versions 3 and 4)";
|
||||
homepage = https://pypi.python.org/pypi/netCDF4;
|
||||
license = licenses.free; # Mix of license (all MIT* like)
|
||||
};
|
||||
};
|
||||
|
||||
odfpy = buildPythonPackage rec {
|
||||
version = "0.9.6";
|
||||
name = "odfpy-${version}";
|
||||
|
|
Loading…
Reference in a new issue