3
0
Fork 0
forked from mirrors/nixpkgs

pythonPackages.netcdf4: init at 1.1.8

This commit is contained in:
Lancelot SIX 2015-07-20 10:58:49 +00:00
parent 8ac9c708b9
commit ce50f2b398

View file

@ -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}";