Files
Dark Steveneq 646b892680
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
push sheeet
2025-10-09 14:15:47 +02:00

46 lines
1.3 KiB
Nix

{
lib,
stdenv,
fetchFromGitHub,
}:
stdenv.mkDerivation {
pname = "chonburi";
version = "0-unstable-2021-09-15";
src = fetchFromGitHub {
owner = "cadsondemak";
repo = "chonburi";
rev = "daf26bf77d82fba50eaa3aa3fad905cb9f6b5e28";
sha256 = "sha256-oC7ZCfNOyvGtqT9+Ap/CfCHzdWNzeCuac2dJ9fctgB8=";
};
installPhase = ''
runHook preInstall
mkdir -p $out/share/doc/chonburi $out/share/fonts/{opentype,truetype}
cp $src/OFL.txt $src/BRIEF.md $out/share/doc/chonburi
cp $src/fonts/*.otf $out/share/fonts/opentype
cp $src/fonts/*.ttf $out/share/fonts/truetype
runHook postInstall
'';
meta = with lib; {
homepage = "https://cadsondemak.github.io/chonburi/";
description = "Didonic Thai and Latin display typeface";
longDescription = ''
The objective of this project is to create a Thai and Latin Display
typeface. Chonburi is a display typeface with high contrast in a Didone
style. This single-weight typeface provides advance typographical support
with features such as discretionary ligature. This font can be extended
the family to other weights including both narrow and extended version. It
is also ready to be matched with other non-Latin script.
'';
license = licenses.ofl;
platforms = platforms.all;
maintainers = [ maintainers.toastal ];
};
}