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

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

29 lines
676 B
Nix
Raw Normal View History

{ lib, stdenvNoCC, fetchurl }:
2022-04-22 01:51:01 +02:00
stdenvNoCC.mkDerivation rec {
pname = "khmeros";
2022-04-22 01:51:01 +02:00
version = "5.0";
src = fetchurl {
url = "mirror://debian/pool/main/f/fonts-${pname}/fonts-${pname}_${version}.orig.tar.xz";
hash = "sha256-gBcM9YHSuhbxvwfQTvywH/5kN921GOyvGtkROcmcBiw=";
};
installPhase = ''
runHook preInstall
2022-04-22 01:51:01 +02:00
mkdir -p $out/share/fonts
cp *.ttf $out/share/fonts
runHook postInstall
2022-04-22 01:51:01 +02:00
'';
meta = with lib; {
description = "KhmerOS Unicode fonts for the Khmer language";
homepage = "http://www.khmeros.info/";
license = licenses.gpl2Plus;
maintainers = with lib.maintainers; [ serge ];
platforms = platforms.all;
};
}