netcdf-mpi:remove appendToName to have a consistent package name for repology

This commit is contained in:
Felix Buehler 2022-02-22 12:48:53 +01:00
parent 564b9a8252
commit 404e4e6be2
2 changed files with 4 additions and 4 deletions

View file

@ -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";
};

View file

@ -8084,9 +8084,9 @@ with pkgs;
hdf5 = hdf5.override { usev110Api = true; };
};
netcdf-mpi = appendToName "mpi" (netcdf.override {
netcdf-mpi = netcdf.override {
hdf5 = hdf5-mpi.override { usev110Api = true; };
});
};
netcdfcxx4 = callPackage ../development/libraries/netcdf-cxx4 { };