mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
Merge pull request #8903 from lancelotsix/add_pythonPacgages_netcdf4
pythonPackages.netcdf4: init at 1.1.8
This commit is contained in:
commit
63b1499996
@ -3962,6 +3962,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 New Issue
Block a user