summary refs log tree commit diff
path: root/pkgs/development/libraries/nco
diff options
context:
space:
mode:
authorBruno Bzeznik <Bruno.Bzeznik@imag.fr>2021-03-23 11:36:24 +0100
committerBruno Bzeznik <Bruno.Bzeznik@imag.fr>2021-03-23 11:36:24 +0100
commitcc302fcbec392e66b086518a59e4fcaeebd39f6b (patch)
tree183fb80b715c8539f568c9ddc1530a6e2a095528 /pkgs/development/libraries/nco
parent474664683c8a6f9e896b182d432d1f748866b9a2 (diff)
downloadnixpkgs-cc302fcbec392e66b086518a59e4fcaeebd39f6b.tar
nixpkgs-cc302fcbec392e66b086518a59e4fcaeebd39f6b.tar.gz
nixpkgs-cc302fcbec392e66b086518a59e4fcaeebd39f6b.tar.bz2
nixpkgs-cc302fcbec392e66b086518a59e4fcaeebd39f6b.tar.lz
nixpkgs-cc302fcbec392e66b086518a59e4fcaeebd39f6b.tar.xz
nixpkgs-cc302fcbec392e66b086518a59e4fcaeebd39f6b.tar.zst
nixpkgs-cc302fcbec392e66b086518a59e4fcaeebd39f6b.zip
nco: 4.9.7 -> 4.9.8 + fix license and deps
Diffstat (limited to 'pkgs/development/libraries/nco')
-rw-r--r--pkgs/development/libraries/nco/default.nix12
1 files changed, 7 insertions, 5 deletions
diff --git a/pkgs/development/libraries/nco/default.nix b/pkgs/development/libraries/nco/default.nix
index e8053ce2702..958be905f83 100644
--- a/pkgs/development/libraries/nco/default.nix
+++ b/pkgs/development/libraries/nco/default.nix
@@ -1,15 +1,15 @@
 { lib, stdenv, fetchzip, netcdf, netcdfcxx4, gsl, udunits, antlr, which, curl, flex, coreutils }:
 
 stdenv.mkDerivation rec {
-  version = "4.9.7";
+  version = "4.9.8";
   pname = "nco";
 
-  nativeBuildInputs = [ flex which ];
-  buildInputs = [ netcdf netcdfcxx4 gsl udunits antlr curl coreutils ];
+  nativeBuildInputs = [ flex which antlr ];
+  buildInputs = [ netcdf netcdfcxx4 gsl udunits curl coreutils ];
 
   src = fetchzip {
     url = "https://github.com/nco/nco/archive/${version}.tar.gz";
-    sha256 = "sha256-Q4okOoyodofAsMrSmAhFISeY05Be+i7OX4qy2annQq4=";
+    sha256 = "sha256-fOdmM0I/UGhxacofEBfw9UmOOrMDUXs59ca8uvkQKqw=";
   };
 
   prePatch = ''
@@ -19,11 +19,13 @@ stdenv.mkDerivation rec {
       --replace "/bin/mv" "${coreutils}/bin/mv"
   '';
 
+  parallelBuild = true;
+
   meta = {
     description = "NetCDF Operator toolkit";
     longDescription = "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 = lib.licenses.gpl3;
+    license = lib.licenses.bsd3;
     maintainers = [ lib.maintainers.bzizou ];
     platforms = lib.platforms.linux;
   };