blob: 4a0e3c975f5423e8351491f20200016ccf6466f8 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
{ lib, fetchzip }:
let
version = "VER2.5";
fullName = "NanumGothicCoding-2.5";
in (fetchzip {
name = "nanum-gothic-coding";
url = "https://github.com/naver/nanumfont/releases/download/${version}/${fullName}.zip";
sha256 = "0b3pkhd6xn6393zi0dhj3ah08w1y1ji9fl6584bi0c8lanamf2pc";
meta = with lib; {
description = "A contemporary monospaced sans-serif typeface with a warm touch";
homepage = "https://github.com/naver/nanumfont";
license = licenses.ofl;
platforms = platforms.all;
maintainers = with maintainers; [ ];
};
}).overrideAttrs (_: {
postFetch = ''
mkdir -p $out/share/fonts/NanumGothicCoding
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/NanumGothicCoding
'';
})
|