Merge staging-next into staging

This commit is contained in:
Frederik Rietdijk
2019-05-01 11:46:16 +02:00
107 changed files with 892 additions and 501 deletions

View File

@@ -0,0 +1,32 @@
{ stdenv, fetchzip, unzip }:
let
version = "1.3.2";
pname = "d2codingfont";
in fetchzip rec {
name = "${pname}-${version}";
url = "https://github.com/naver/${pname}/releases/download/VER${version}/D2Coding-Ver${version}-20180524.zip";
postFetch = ''
mkdir -p $out/share/fonts
unzip -j $downloadedFile \*-all.ttc -d $out/share/fonts/truetype/
'';
sha256 = "1812r82530wzfki7k9cm35fy6k2lvis7j6w0w8svc784949m1wwj";
meta = with stdenv.lib; {
description = "Monospace font with support for Korean and latin characters";
longDescription = ''
D2Coding is a monospace font developed by a Korean IT Company called Naver.
Font is good for displaying both Korean characters and latin characters,
as sometimes these two languages could share some similar strokes.
Since verion 1.3, D2Coding font is officially supported by the font
creator, with symbols for Powerline.
'';
homepage = https://github.com/naver/d2codingfont;
license = licenses.ofl;
platforms = platforms.all;
maintainers = with maintainers; [ dtzWill ];
};
}

View File

@@ -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 ];
};
}