nixpkgs/pkgs/data/fonts/lao/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

28 lines
636 B
Nix
Raw Normal View History

{ lib, stdenvNoCC, fetchurl }:
2022-04-04 05:02:08 +00:00
stdenvNoCC.mkDerivation rec {
pname = "lao";
2022-04-04 05:02:08 +00:00
version = "0.0.20060226";
src = fetchurl {
url = "mirror://debian/pool/main/f/fonts-${pname}/fonts-${pname}_${version}.orig.tar.xz";
hash = "sha256-DlgdyfhxxzVkNIL+NGsQ+PRlNkCuG3v2OahkIEYx60o=";
};
installPhase = ''
runHook preInstall
2022-04-04 05:02:08 +00:00
mkdir -p $out/share/fonts
cp Phetsarath_OT.ttf $out/share/fonts
runHook postInstall
2022-04-04 05:02:08 +00:00
'';
meta = with lib; {
description = "TrueType font for Lao language";
license = licenses.gpl2Plus;
maintainers = with lib.maintainers; [ serge ];
platforms = platforms.all;
};
}