charis-sil: 6.200 -> 7.000, modernize and rename to charis (#467431)

This commit is contained in:
Alexis Hildebrandt
2026-02-10 21:49:22 +00:00
committed by GitHub
3 changed files with 52 additions and 37 deletions
-37
View File
@@ -1,37 +0,0 @@
{
lib,
stdenvNoCC,
fetchzip,
}:
stdenvNoCC.mkDerivation rec {
pname = "charis-sil";
version = "6.200";
src = fetchzip {
url = "https://software.sil.org/downloads/r/charis/CharisSIL-${version}.zip";
hash = "sha256-q451lec/l13Uanmr8K/C55Cr3avRvqQUkPK/ZZ1kgHo=";
};
installPhase = ''
runHook preInstall
install -Dm644 *.ttf -t $out/share/fonts/truetype
install -Dm644 OFL.txt OFL-FAQ.txt README.txt FONTLOG.txt -t $out/share/doc/${pname}-${version}
runHook postInstall
'';
meta = {
homepage = "https://software.sil.org/charis";
description = "Family of highly readable fonts for broad multilingual use";
longDescription = ''
This Charis SIL font is essentially the same design as the SIL Charis font first released by SIL in 1997. Charis is similar to Bitstream Charter, one of the first fonts designed specifically for laser printers. It is highly readable and holds up well in less-than-ideal reproduction environments. It also has a full set of styles regular, italic, bold, bold italic. Charis is a serif, proportionally-spaced font optimized for readability in long printed documents.
The goal for this product was to provide a single Unicode-based font family that would contain a comprehensive inventory of glyphs needed for almost any Roman- or Cyrillic-based writing system, whether used for phonetic or orthographic needs. In addition, there is provision for other characters and symbols useful to linguists. This font makes use of state-of-the-art font technologies to support complex typographic issues, such as the need to position arbitrary combinations of base glyphs and diacritics optimally.
'';
license = lib.licenses.ofl;
platforms = lib.platforms.all;
maintainers = [ lib.maintainers.f--t ];
};
}
+51
View File
@@ -0,0 +1,51 @@
{
lib,
stdenvNoCC,
fetchzip,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "charis";
version = "7.000";
src = fetchzip {
url = "https://software.sil.org/downloads/r/charis/Charis-${finalAttrs.version}.zip";
hash = "sha256-cVz0U2PAIl8FqT/HhvDNoWg3SCwKQ1e7rdk+dkP1Cc8=";
};
installPhase = ''
runHook preInstall
install -D --mode 444 --target-directory $out/share/fonts/truetype *.ttf
install -D --mode 444 --target-directory $out/share/doc/charis-${finalAttrs.version} \
OFL.txt OFL-FAQ.txt README.txt FONTLOG.txt
runHook postInstall
'';
meta = {
homepage = "https://software.sil.org/charis";
description = "Family of highly readable fonts for broad multilingual use";
longDescription = ''
This Charis font is essentially the same design as the SIL Charis font
first released by SIL in 1997. Charis is similar to Bitstream Charter,
one of the first fonts designed specifically for laser printers. It is
highly readable and holds up well in less-than-ideal reproduction
environments. It also has a full set of styles regular, italic, bold,
bold italic. Charis is a serif, proportionally-spaced font optimized for
readability in long printed documents.
The goal for this product was to provide a single Unicode-based font
family that would contain a comprehensive inventory of glyphs needed for
almost any Roman- or Cyrillic-based writing system, whether used for
phonetic or orthographic needs. In addition, there is provision for other
characters and symbols useful to linguists. This font makes use of
state-of-the-art font technologies to support complex typographic issues,
such as the need to position arbitrary combinations of base glyphs and
diacritics optimally.
'';
license = lib.licenses.ofl;
platforms = lib.platforms.all;
maintainers = [ lib.maintainers.f--t ];
};
})
+1
View File
@@ -428,6 +428,7 @@ mapAliases {
certmgr-selfsigned = throw "'certmgr-selfsigned' has been renamed to/replaced by 'certmgr'"; # Converted to throw 2025-10-27
cgit-pink = throw "cgit-pink has been removed, as it is unmaintained upstream"; # Added 2026-01-21
challenger = throw "'challenger' has been renamed to/replaced by 'taler-challenger'"; # Converted to throw 2025-10-27
charis-sil = throw "'charis-sil' has renamed to/replaced by 'charis'"; # Added 2025-12-01
charmcraft = throw "charmcraft was removed in Sep 25 following removal of LXD from nixpkgs"; # Added 2025-09-18
charybdis = throw "charybdis was removed since its upstream repo was archived in 2021"; # Added 2026-01-13
chatgpt-retrieval-plugin = throw "chatgpt-retrieval-plugin has been removed because it has been marked as broken since at least November 2024."; # Added 2025-09-28