about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/netcdf-cxx4/default.nix
blob: a57884912baea8120b647c03b3a73d1207f17589 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
{ stdenv, fetchurl, netcdf, hdf5, curl }:
stdenv.mkDerivation rec {
  name = "netcdf-cxx4-${version}";
  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 = stdenv.lib.licenses.free;
    platforms = stdenv.lib.platforms.unix;
  };
}