Merge pull request #167132 from serge-belov/sb-nixpkgs-lao
Add TrueType font for Lao language
This commit is contained in:
commit
d9d259b43d
2 changed files with 24 additions and 0 deletions
22
pkgs/data/fonts/lao/default.nix
Normal file
22
pkgs/data/fonts/lao/default.nix
Normal 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;
|
||||
};
|
||||
}
|
|
@ -24378,6 +24378,8 @@ with pkgs;
|
|||
|
||||
layan-kde = callPackage ../data/themes/layan-kde { };
|
||||
|
||||
lao = callPackage ../data/fonts/lao {};
|
||||
|
||||
lato = callPackage ../data/fonts/lato {};
|
||||
|
||||
league-of-moveable-type = callPackage ../data/fonts/league-of-moveable-type {};
|
||||
|
|
Loading…
Reference in a new issue