2022-09-29 10:52:55 +03:00
|
|
|
# when changing this expression convert it from 'fetchzip' to 'stdenvNoCC.mkDerivation'
|
2019-05-13 04:55:32 +03:00
|
|
|
{ lib, fetchzip }:
|
2019-04-30 13:10:10 +03:00
|
|
|
|
|
|
|
let
|
|
|
|
version = "VER2.5";
|
|
|
|
fullName = "NanumGothicCoding-2.5";
|
|
|
|
|
2022-09-29 10:52:55 +03:00
|
|
|
in (fetchzip {
|
2019-04-30 13:10:10 +03:00
|
|
|
name = "nanum-gothic-coding";
|
|
|
|
url = "https://github.com/naver/nanumfont/releases/download/${version}/${fullName}.zip";
|
|
|
|
|
|
|
|
sha256 = "0b3pkhd6xn6393zi0dhj3ah08w1y1ji9fl6584bi0c8lanamf2pc";
|
|
|
|
|
2019-05-13 04:55:32 +03:00
|
|
|
meta = with lib; {
|
2019-04-30 13:10:10 +03:00
|
|
|
description = "A contemporary monospaced sans-serif typeface with a warm touch";
|
2020-04-01 04:11:51 +03:00
|
|
|
homepage = "https://github.com/naver/nanumfont";
|
2019-04-30 13:10:10 +03:00
|
|
|
license = licenses.ofl;
|
|
|
|
platforms = platforms.all;
|
2022-02-20 07:20:00 +03:00
|
|
|
maintainers = with maintainers; [ ];
|
2019-04-30 13:10:10 +03:00
|
|
|
};
|
2022-09-29 10:52:55 +03:00
|
|
|
}).overrideAttrs (_: {
|
|
|
|
postFetch = ''
|
|
|
|
mkdir -p $out/share/fonts/NanumGothicCoding
|
|
|
|
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/NanumGothicCoding
|
|
|
|
'';
|
|
|
|
})
|