diff options
author | Serge Belov <sb@canva.com> | 2022-04-04 17:02:08 +1200 |
---|---|---|
committer | Serge Belov <sb@canva.com> | 2022-05-02 12:40:16 +1200 |
commit | 0fac08c0b5abbb8ea44d8aa4c311aae3b5f75d5e (patch) | |
tree | 5c1cbab9b390b93f99389a824da5a498a88c3a58 /pkgs/data/fonts | |
parent | 50d72453fdf6f8b6d429c28481d04384b73c1a70 (diff) |
lao: init at 0.0.20060226
Diffstat (limited to 'pkgs/data/fonts')
-rw-r--r-- | pkgs/data/fonts/lao/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/pkgs/data/fonts/lao/default.nix b/pkgs/data/fonts/lao/default.nix new file mode 100644 index 0000000000000..abe359410b3ab --- /dev/null +++ b/pkgs/data/fonts/lao/default.nix @@ -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; + }; +} |