diff options
author | toastal <toastal@posteo.net> | 2021-09-16 15:57:53 +0700 |
---|---|---|
committer | toastal <toastal@posteo.net> | 2021-09-25 00:07:37 +0700 |
commit | 59740c03de7f6e3820f6f91e88175df2058b0689 (patch) | |
tree | 8b470f8784c0cad89b5c0ff8edce092727b3dea8 | |
parent | 2ad729547db233161407f3af22566e67628dd63f (diff) | |
download | nixlib-59740c03de7f6e3820f6f91e88175df2058b0689.tar nixlib-59740c03de7f6e3820f6f91e88175df2058b0689.tar.gz nixlib-59740c03de7f6e3820f6f91e88175df2058b0689.tar.bz2 nixlib-59740c03de7f6e3820f6f91e88175df2058b0689.tar.lz nixlib-59740c03de7f6e3820f6f91e88175df2058b0689.tar.xz nixlib-59740c03de7f6e3820f6f91e88175df2058b0689.tar.zst nixlib-59740c03de7f6e3820f6f91e88175df2058b0689.zip |
chonburi-font: init at unstable-2021-09-15
OFL font: https://github.com/cadsondemak/chonburi
-rw-r--r-- | pkgs/data/fonts/chonburi/default.nix | 41 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 43 insertions, 0 deletions
diff --git a/pkgs/data/fonts/chonburi/default.nix b/pkgs/data/fonts/chonburi/default.nix new file mode 100644 index 000000000000..4a14368f1f5f --- /dev/null +++ b/pkgs/data/fonts/chonburi/default.nix @@ -0,0 +1,41 @@ +{ lib, stdenv, fetchFromGitHub }: + +stdenv.mkDerivation rec { + pname = "chonburi"; + version = "unstable-2021-09-15"; + + src = fetchFromGitHub { + owner = "cadsondemak"; + repo = pname; + 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 = "A 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index dfac0a879113..5edbc3fd2c46 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -22313,6 +22313,8 @@ with pkgs; cherry = callPackage ../data/fonts/cherry { inherit (xorg) fonttosfnt mkfontdir; }; + chonburi-font = callPackage ../data/fonts/chonburi { }; + cldr-emoji-annotation = callPackage ../data/misc/cldr-emoji-annotation { }; clearlooks-phenix = callPackage ../data/themes/clearlooks-phenix { }; |