diff options
author | Will Dietz <w@wdtz.org> | 2019-04-30 15:22:28 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-30 15:22:28 -0500 |
commit | 999bd69410389bcabf024d21eda31ed5d859323d (patch) | |
tree | 891253b503219bde2e963fa20f44bfc37f0c90b8 /pkgs/data | |
parent | 9d807a768a6526cfc8987a8fd145ff2763b55450 (diff) | |
parent | cda767c61acb90346be18752392b202738a9d5c9 (diff) |
Merge pull request #60471 from LinArcX/nanum-gothic-coding
nanum-gothic-coding: init at VER2.5
Diffstat (limited to 'pkgs/data')
-rw-r--r-- | pkgs/data/fonts/nanum-gothic-coding/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/data/fonts/nanum-gothic-coding/default.nix b/pkgs/data/fonts/nanum-gothic-coding/default.nix new file mode 100644 index 0000000000000..c0b4670a659bb --- /dev/null +++ b/pkgs/data/fonts/nanum-gothic-coding/default.nix @@ -0,0 +1,25 @@ +{ stdenv, fetchzip, unzip}: + +let + version = "VER2.5"; + fullName = "NanumGothicCoding-2.5"; + +in fetchzip rec { + name = "nanum-gothic-coding"; + url = "https://github.com/naver/nanumfont/releases/download/${version}/${fullName}.zip"; + + postFetch = '' + mkdir -p $out/share/fonts/NanumGothicCoding + unzip -j $downloadedFile \*.ttf -d $out/share/fonts/NanumGothicCoding + ''; + + sha256 = "0b3pkhd6xn6393zi0dhj3ah08w1y1ji9fl6584bi0c8lanamf2pc"; + + meta = with stdenv.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; [ linarcx ]; + }; +} |