5ca88bfbb9
GitOrigin-RevId: 9f918d616c5321ad374ae6cb5ea89c9e04bf3e58
29 lines
760 B
Nix
29 lines
760 B
Nix
{ lib, stdenvNoCC, fetchzip }:
|
|
|
|
stdenvNoCC.mkDerivation rec {
|
|
pname = "nanum-gothic-coding";
|
|
version = "2.5";
|
|
|
|
src = fetchzip {
|
|
url = "https://github.com/naver/nanumfont/releases/download/VER${version}/NanumGothicCoding-${version}.zip";
|
|
stripRoot = false;
|
|
hash = "sha256-jHbbCMUxn54iQMKdAWI3r8CDxi+5LLJh8ucQzq2Ukdc=";
|
|
};
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
mkdir -p $out/share/fonts/NanumGothicCoding
|
|
cp *.ttf $out/share/fonts/NanumGothicCoding
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Contemporary monospaced sans-serif typeface with a warm touch";
|
|
homepage = "https://github.com/naver/nanumfont";
|
|
license = licenses.ofl;
|
|
platforms = platforms.all;
|
|
maintainers = [ ];
|
|
};
|
|
}
|