2023-01-18 20:29:32 +00:00
|
|
|
{ lib, stdenvNoCC, fetchurl }:
|
2022-04-04 05:02:08 +00:00
|
|
|
|
2023-01-18 20:29:32 +00:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
|
|
pname = "lao";
|
2022-04-04 05:02:08 +00:00
|
|
|
version = "0.0.20060226";
|
|
|
|
|
2023-01-18 20:29:32 +00:00
|
|
|
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
|
2023-01-18 20:29:32 +00:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|