2023-01-18 21:29:32 +01:00
|
|
|
{ lib, stdenvNoCC, fetchurl }:
|
2022-04-26 06:14:44 +02:00
|
|
|
|
2023-01-18 21:29:32 +01:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
|
|
pname = "lklug-sinhala";
|
2022-04-26 06:14:44 +02:00
|
|
|
version = "0.6";
|
|
|
|
|
2023-01-18 21:29:32 +01:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://debian/pool/main/f/fonts-${pname}/fonts-${pname}_${version}.orig.tar.xz";
|
|
|
|
hash = "sha256-oPCCa01PMQcCK5fEILgXjrGzoDg+UvxkqK6AgeQaKio=";
|
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
|
|
|
|
mkdir -p $out/share/fonts/truetype
|
|
|
|
cp *.ttf $out/share/fonts/truetype
|
|
|
|
|
|
|
|
runHook postInstall
|
2022-04-26 06:14:44 +02:00
|
|
|
'';
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "Unicode Sinhala font by Lanka Linux User Group";
|
|
|
|
homepage = "http://www.lug.lk/fonts/lklug";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
maintainers = with lib.maintainers; [ serge ];
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|