1 { lib, stdenv, fetchFromGitHub }:
3 stdenv.mkDerivation rec {
5 version = "unstable-2021-09-15";
7 src = fetchFromGitHub {
10 rev = "daf26bf77d82fba50eaa3aa3fad905cb9f6b5e28";
11 sha256 = "sha256-oC7ZCfNOyvGtqT9+Ap/CfCHzdWNzeCuac2dJ9fctgB8=";
17 mkdir -p $out/share/doc/chonburi $out/share/fonts/{opentype,truetype}
19 cp $src/OFL.txt $src/BRIEF.md $out/share/doc/chonburi
20 cp $src/fonts/*.otf $out/share/fonts/opentype
21 cp $src/fonts/*.ttf $out/share/fonts/truetype
27 homepage = "https://cadsondemak.github.io/chonburi/";
28 description = "Didonic Thai and Latin display typeface";
30 The objective of this project is to create a Thai and Latin Display
31 typeface. Chonburi is a display typeface with high contrast in a Didone
32 style. This single-weight typeface provides advance typographical support
33 with features such as discretionary ligature. This font can be extended
34 the family to other weights including both narrow and extended version. It
35 is also ready to be matched with other non-Latin script.
37 license = licenses.ofl;
38 platforms = platforms.all;
39 maintainers = [ maintainers.toastal ];