btrbk: add mainProgram (#356350)
[NixPkgs.git] / pkgs / by-name / ch / charis-sil / package.nix
bloba75fabb9ae35489efce187e3f48a8855b906cde2
1 { lib, stdenvNoCC, fetchzip }:
3 stdenvNoCC.mkDerivation rec {
4   pname = "charis-sil";
5   version = "6.200";
7   src = fetchzip {
8     url = "https://software.sil.org/downloads/r/charis/CharisSIL-${version}.zip";
9     hash = "sha256-q451lec/l13Uanmr8K/C55Cr3avRvqQUkPK/ZZ1kgHo=";
10   };
12   installPhase = ''
13     runHook preInstall
15     install -Dm644 *.ttf -t $out/share/fonts/truetype
16     install -Dm644 OFL.txt OFL-FAQ.txt README.txt FONTLOG.txt -t $out/share/doc/${pname}-${version}
18     runHook postInstall
19   '';
21   meta = with lib; {
22     homepage = "https://software.sil.org/charis";
23     description = "Family of highly readable fonts for broad multilingual use";
24     longDescription = ''
25       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.
27       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.
28     '';
29     license = licenses.ofl;
30     platforms = platforms.all;
31     maintainers = [ maintainers.f--t ];
32   };