2023-02-02 18:25:31 +00:00
|
|
|
{ lib, stdenvNoCC, fetchurl }:
|
2022-05-18 14:49:53 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
|
|
pname = "nanum";
|
2023-02-22 10:55:15 +00:00
|
|
|
version = "20200506";
|
2022-05-18 14:49:53 +00:00
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://ubuntu/pool/universe/f/fonts-${pname}/fonts-${pname}_${version}.orig.tar.xz";
|
2023-02-22 10:55:15 +00:00
|
|
|
hash = "sha256-FXgDdIGYFRJQo898sDrvhE5AjpyYhJ3YieGRhGqsrUs=";
|
2023-02-02 18:25:31 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
|
|
|
|
2022-05-18 14:49:53 +00:00
|
|
|
mkdir -p $out/share/fonts
|
|
|
|
cp *.ttf $out/share/fonts
|
2023-02-02 18:25:31 +00:00
|
|
|
|
|
|
|
runHook postInstall
|
2022-05-18 14:49:53 +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;
|
|
|
|
};
|
|
|
|
}
|