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

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

29 lines
661 B
Nix
Raw Normal View History

{ lib, stdenvNoCC, fetchurl }:
2022-04-22 05:29:31 +00:00
stdenvNoCC.mkDerivation rec {
pname = "nanum";
2023-02-19 16:08:11 +00:00
version = "20200506";
2022-04-22 05:29:31 +00:00
src = fetchurl {
url = "mirror://ubuntu/pool/universe/f/fonts-${pname}/fonts-${pname}_${version}.orig.tar.xz";
2023-02-19 16:08:11 +00:00
hash = "sha256-FXgDdIGYFRJQo898sDrvhE5AjpyYhJ3YieGRhGqsrUs=";
};
installPhase = ''
runHook preInstall
2022-04-22 05:29:31 +00:00
mkdir -p $out/share/fonts
cp *.ttf $out/share/fonts
runHook postInstall
2022-04-22 05:29:31 +00:00
'';
meta = with lib; {
description = "Nanum Korean font set";
homepage = "https://hangeul.naver.com/font";
license = licenses.ofl;
maintainers = with lib.maintainers; [ serge ];
platforms = platforms.all;
};
}