mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 09:23:01 +00:00
23 lines
598 B
Nix
23 lines
598 B
Nix
{ 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;
|
|
};
|
|
}
|