From 2960ea5292de0d0cb978e74f5b94d533f904eedd Mon Sep 17 00:00:00 2001 From: "Bruno Bzeznik Bruno.Bzeznik@imag.fr" Date: Mon, 22 Feb 2016 14:53:34 +0100 Subject: [PATCH] nco: init at 4.5.5 --- lib/maintainers.nix | 1 + pkgs/development/libraries/nco/default.nix | 21 +++++++++++++++++++++ pkgs/top-level/all-packages.nix | 2 ++ 3 files changed, 24 insertions(+) create mode 100644 pkgs/development/libraries/nco/default.nix diff --git a/lib/maintainers.nix b/lib/maintainers.nix index c0b6804f0985..1fda2d1be0f9 100644 --- a/lib/maintainers.nix +++ b/lib/maintainers.nix @@ -58,6 +58,7 @@ bosu = "Boris Sukholitko "; bramd = "Bram Duvigneau "; bstrik = "Berno Strik "; + bzizou = "Bruno Bzeznik "; c0dehero = "CodeHero "; calrama = "Moritz Maxeiner "; campadrenalin = "Philip Horger "; diff --git a/pkgs/development/libraries/nco/default.nix b/pkgs/development/libraries/nco/default.nix new file mode 100644 index 000000000000..0a284722e029 --- /dev/null +++ b/pkgs/development/libraries/nco/default.nix @@ -0,0 +1,21 @@ +{ stdenv, fetchurl, netcdf, netcdfcxx4, gsl, udunits, antlr, which, curl }: + +stdenv.mkDerivation rec { + version = "4.5.5"; + name = "nco"; + + buildInputs = [ netcdf netcdfcxx4 gsl udunits antlr which curl ]; + + src = fetchurl { + url = "https://github.com/nco/nco/archive/${version}.tar.gz"; + sha256 = "bc6f5b976fdfbdec51f2ebefa158fa54672442c2fd5f042ba884f9f32c2ad666"; + }; + + meta = { + description = "The NCO (netCDF Operator) toolkit manipulates and analyzes data stored in netCDF-accessible formats, including DAP, HDF4, and HDF5"; + homepage = http://nco.sourceforge.net/; + license = stdenv.lib.licenses.gpl3; + maintainers = [ stdenv.lib.maintainers.bzizou ]; + platforms = stdenv.lib.platforms.linux; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index df56303c7742..a90b8b4b9a50 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2426,6 +2426,8 @@ let netcdfcxx4 = callPackage ../development/libraries/netcdf-cxx4 { }; + nco = callPackage ../development/libraries/nco { }; + nc6 = callPackage ../tools/networking/nc6 { }; ncat = callPackage ../tools/networking/ncat { };