depot/third_party/nixpkgs/pkgs/data/fonts/nanum-gothic-coding/default.nix
Default email 8ac5e011d6 Project import generated by Copybara.
GitOrigin-RevId: 2c3273caa153ee8eb5786bc8141b85b859e7efd7
2020-04-24 19:36:52 -04:00

25 lines
711 B
Nix

{ 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";
postFetch = ''
mkdir -p $out/share/fonts/NanumGothicCoding
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/NanumGothicCoding
'';
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; [ linarcx ];
};
}