mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
d2coding: init at 1.3.2 (coding font)
This commit is contained in:
parent
06041661f8
commit
8f7c7f90f7
2 changed files with 34 additions and 0 deletions
32
pkgs/data/fonts/d2coding/default.nix
Normal file
32
pkgs/data/fonts/d2coding/default.nix
Normal 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 ];
|
||||
};
|
||||
}
|
|
@ -15965,6 +15965,8 @@ in
|
|||
|
||||
cooper-hewitt = callPackage ../data/fonts/cooper-hewitt { };
|
||||
|
||||
d2coding = callPackage ../data/fonts/d2coding { };
|
||||
|
||||
dosis = callPackage ../data/fonts/dosis { };
|
||||
|
||||
dosemu_fonts = callPackage ../data/fonts/dosemu-fonts { };
|
||||
|
|
Loading…
Reference in a new issue