diff options
Diffstat (limited to 'nixpkgs/pkgs/development/libraries/netcdf-cxx4')
-rw-r--r-- | nixpkgs/pkgs/development/libraries/netcdf-cxx4/default.nix | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/development/libraries/netcdf-cxx4/default.nix b/nixpkgs/pkgs/development/libraries/netcdf-cxx4/default.nix new file mode 100644 index 000000000000..b594a672140f --- /dev/null +++ b/nixpkgs/pkgs/development/libraries/netcdf-cxx4/default.nix @@ -0,0 +1,20 @@ +{ lib, stdenv, fetchurl, netcdf, hdf5, curl }: +stdenv.mkDerivation rec { + pname = "netcdf-cxx4"; + version = "4.3.0"; + + src = fetchurl { + url = "https://github.com/Unidata/netcdf-cxx4/archive/v${version}.tar.gz"; + sha256 = "13zi8cbk18gggx1c12a580wdsbl714lw68a1wg7c86x0sybirni5"; + }; + + buildInputs = [ netcdf hdf5 curl ]; + doCheck = true; + + meta = { + description = "C++ API to manipulate netcdf files"; + homepage = "https://www.unidata.ucar.edu/software/netcdf/"; + license = lib.licenses.free; + platforms = lib.platforms.unix; + }; +} |