From cda767c61acb90346be18752392b202738a9d5c9 Mon Sep 17 00:00:00 2001 From: linarcx Date: Tue, 30 Apr 2019 14:40:10 +0430 Subject: nanum-gothic-coding: init at VER2.5 --- pkgs/data/fonts/nanum-gothic-coding/default.nix | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 pkgs/data/fonts/nanum-gothic-coding/default.nix (limited to 'pkgs/data') 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 ]; + }; +} -- cgit 1.4.1