diff options
author | Felix Buehler <account@buehler.rocks> | 2022-02-22 12:48:53 +0100 |
---|---|---|
committer | Felix Buehler <account@buehler.rocks> | 2022-02-28 12:45:43 +0100 |
commit | 404e4e6be23d75a18c5dbb87f5f0beb234191f01 (patch) | |
tree | 6789a28380f7096784227ef4d0af4f49651e7a12 /pkgs/development/libraries/netcdf | |
parent | 564b9a825297d85a9c7a2c48d28a457ba1f2aa63 (diff) |
netcdf-mpi:remove appendToName to have a consistent package name for repology
Diffstat (limited to 'pkgs/development/libraries/netcdf')
-rw-r--r-- | pkgs/development/libraries/netcdf/default.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/netcdf/default.nix b/pkgs/development/libraries/netcdf/default.nix index 711097757220b..27af3be4f2df1 100644 --- a/pkgs/development/libraries/netcdf/default.nix +++ b/pkgs/development/libraries/netcdf/default.nix @@ -10,11 +10,11 @@ let inherit (hdf5) mpiSupport mpi; in stdenv.mkDerivation rec { - pname = "netcdf"; + pname = "netcdf" + lib.optionalString mpiSupport "-mpi"; version = "4.8.0"; # Remove patch mentioned below on upgrade src = fetchurl { - url = "https://www.unidata.ucar.edu/downloads/netcdf/ftp/${pname}-c-${version}.tar.gz"; + url = "https://www.unidata.ucar.edu/downloads/netcdf/ftp/netcdf-c-${version}.tar.gz"; sha256 = "1mfn8qi4k0b8pyar3wa8v0npj69c7rhgfdlppdwmq5jqk88kb5k7"; }; |