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";
|
2022-05-18 14:49:53 +00:00
|
|
|
version = "20170925";
|
|
|
|
|
2023-02-02 18:25:31 +00:00
|
|
|
src = fetchurl {
|
|
|
|
url = "mirror://ubuntu/pool/universe/f/fonts-${pname}/fonts-${pname}_${version}.orig.tar.xz";
|
|
|
|
hash = "sha256-GlVXH9YUU3wHMkNoz5miBv7N2oUEbwUXlcVoElQ9++4=";
|
|
|
|
};
|
|
|
|
|
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|