Merge pull request #167132 from serge-belov/sb-nixpkgs-lao

Add TrueType font for Lao language
This commit is contained in:
Sandro 2022-05-03 00:11:39 +02:00 committed by GitHub
commit d9d259b43d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,22 @@
{ fetchzip, lib }:
let
version = "0.0.20060226";
in
fetchzip {
name = "lao-${version}";
url = "mirror://debian/pool/main/f/fonts-lao/fonts-lao_${version}.orig.tar.xz";
sha256 = "sha256-Ti3DNOgLR5VBJ1mSe8M+qs4UYbCR7qOPgqxRfmHa+jY=";
postFetch = ''
mkdir -p $out/share/fonts
tar xf $downloadedFile --strip-components=1 -C $out/share/fonts fonts-lao-${version}/Phetsarath_OT.ttf
'';
meta = with lib; {
description = "TrueType font for Lao language";
license = licenses.gpl2Plus;
maintainers = with lib.maintainers; [ serge ];
platforms = platforms.all;
};
}

View file

@ -24378,6 +24378,8 @@ with pkgs;
layan-kde = callPackage ../data/themes/layan-kde { }; layan-kde = callPackage ../data/themes/layan-kde { };
lao = callPackage ../data/fonts/lao {};
lato = callPackage ../data/fonts/lato {}; lato = callPackage ../data/fonts/lato {};
league-of-moveable-type = callPackage ../data/fonts/league-of-moveable-type {}; league-of-moveable-type = callPackage ../data/fonts/league-of-moveable-type {};