Change:
The font as installed by the package, is now called . This breaks all references to the font in documents, but also in web pages, etc. The font Open this webpage: The logo uses the Source Sans Pro font and it should look correct when the package is installed. Instead, it shows an alternative font with serif. The font should be called and not , keeping all references. If this was not desirable (because the font is just too different) then a package should be provided to install the old version with the old name. Please run and paste the result.
The upstream name change was intentional (adobe-fonts/source-serif).
Thank you andersk that explains a lot! I guess then it makes sense to also install the older version? Edit: or provide it as a separate package.
We should be able to deal with this through fontconfig.
If I understand correctly, it's not only the name that has been changed, but the renamed font has also different metrics. This means that if we just configure fontconfig to replace "Source Sans Pro" with "Source Sans 3", the layout of existing documents might change. So I think, it would make sense to either reintroduce Pro fonts as a separate package, or include the older (Pro) version together with the new one (which is what ). If is interested, I can turn , which does the former, to a PR.
I agree. Either of these two solutions would be satisfying to me.
I wasn't aware of the metrics changes. I think adding the older version back as a new package makes perfect sense, thank you!

Discussion:
<ins> { lib, fetchzip }: # Source Sans Pro got renamed to Source Sans 3 (see # https://github.com/adobe-fonts/source-sans/issues/192). This is the # last version named "Pro". It is useful for backward compatibility # with older documents/templates/etc. let version = "3.006"; in fetchzip { name = "source-sans-pro-${version}"; url = "https://github.com/adobe-fonts/source-sans/archive/${version}R.zip"; postFetch = '' mkdir -p $out/share/fonts/{opentype,truetype,variable} unzip -j $downloadedFile "*/OTF/*.otf" -d $out/share/fonts/opentype unzip -j $downloadedFile "*/TTF/*.ttf" -d $out/share/fonts/truetype unzip -j $downloadedFile "*/VAR/*.otf" -d $out/share/fonts/variable ''; sha256 = "sha256-uWr/dFyLF65v0o6+oN/3RQoe4ziPspzGB1rgiBkoTYY="; meta = with lib; { homepage = "https://adobe-fonts.github.io/source-sans/"; description = "Sans serif font family for user interface environments"; license = licenses.ofl; platforms = platforms.all; maintainers = with maintainers; [ ttuegel ]; }; } </ins>

<ins> { lib, fetchzip }: # Source Serif Pro got renamed to Source Serif 4 (see # https://github.com/adobe-fonts/source-serif/issues/77). This is the # last version named "Pro". It is useful for backward compatibility # with older documents/templates/etc. let version = "3.001"; in fetchzip { name = "source-serif-pro-${version}"; url = "https://github.com/adobe-fonts/source-serif/releases/download/${version}R/source-serif-pro-${version}R.zip"; postFetch = '' mkdir -p $out/share/fonts/{opentype,truetype,variable} unzip -j $downloadedFile "*/OTF/*.otf" -d $out/share/fonts/opentype unzip -j $downloadedFile "*/TTF/*.ttf" -d $out/share/fonts/truetype unzip -j $downloadedFile "*/VAR/*.otf" -d $out/share/fonts/variable ''; sha256 = "sha256-rYWk8D41QMuuSP+cQMk8ttT7uX3a7gBk4OqjA7K9udk="; meta = with lib; { homepage = "https://adobe-fonts.github.io/source-serif/"; description = "Typeface for setting text in many sizes, weights, and languages. Designed to complement Source Sans"; license = licenses.ofl; platforms = platforms.all; maintainers = with maintainers; [ ttuegel ]; }; } </ins>

source-han-serif-korean = source-han-serif; source-han-serif-simplified-chinese = source-han-serif; source-han-serif-traditional-chinese = source-han-serif; <del> source-sans-pro = source-sans; # Added 2021-10-20 source-serif-pro = source-serif; # Added 2021-10-20 </del> spaceOrbit = throw "'spaceOrbit' has been renamed to/replaced by 'space-orbit'"; # Converted to throw 2022-02-22 spectral = neochat; # Added 2020-12-27

source-code-pro = callPackage ../data/fonts/source-code-pro {}; source-sans = callPackage ../data/fonts/source-sans { }; <ins> source-sans-pro = callPackage ../data/fonts/source-sans-pro { }; </ins> source-serif = callPackage ../data/fonts/source-serif { }; <ins> source-serif-pro = callPackage ../data/fonts/source-serif-pro { }; </ins> source-han-code-jp = callPackage ../data/fonts/source-han-code-jp { };