3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/data/fonts/nanum-gothic-coding/default.nix

26 lines
711 B
Nix
Raw Normal View History

{ lib, fetchzip }:
2019-04-30 11:10:10 +01:00
let
version = "VER2.5";
fullName = "NanumGothicCoding-2.5";
2019-08-13 22:52:01 +01:00
in fetchzip {
2019-04-30 11:10:10 +01:00
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; {
2019-04-30 11:10:10 +01:00
description = "A contemporary monospaced sans-serif typeface with a warm touch";
homepage = "https://github.com/naver/nanumfont";
2019-04-30 11:10:10 +01:00
license = licenses.ofl;
platforms = platforms.all;
maintainers = with maintainers; [ linarcx ];
};
}