2017-08-11 15:43:18 +02:00
|
|
|
|
{ stdenv, fetchzip }:
|
2017-05-05 03:11:43 +02:00
|
|
|
|
|
2017-08-11 15:43:18 +02:00
|
|
|
|
fetchzip {
|
|
|
|
|
name = "fira-code-symbols-20160811";
|
|
|
|
|
|
|
|
|
|
url = "https://github.com/tonsky/FiraCode/files/412440/FiraCode-Regular-Symbol.zip";
|
|
|
|
|
|
|
|
|
|
postFetch = ''
|
|
|
|
|
mkdir -p $out/share/fonts
|
|
|
|
|
unzip -j $downloadedFile -d $out/share/fonts/opentype
|
|
|
|
|
'';
|
|
|
|
|
|
|
|
|
|
sha256 = "19krsp22rin74ix0i19v4bh1c965g18xkmz1n55h6n6qimisnbkm";
|
2017-05-05 03:11:43 +02:00
|
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
|
description = "FiraCode unicode ligature glyphs in private use area";
|
|
|
|
|
longDescription = ''
|
|
|
|
|
FiraCode uses ligatures, which some editors don’t support.
|
|
|
|
|
This addition adds them as glyphs to the private unicode use area.
|
|
|
|
|
See https://github.com/tonsky/FiraCode/issues/211.
|
|
|
|
|
'';
|
|
|
|
|
license = licenses.ofl;
|
2018-02-12 07:18:12 +01:00
|
|
|
|
maintainers = [ maintainers.Profpatsch ];
|
2017-05-05 03:11:43 +02:00
|
|
|
|
homepage = "https://github.com/tonsky/FiraCode/issues/211#issuecomment-239058632";
|
|
|
|
|
};
|
2017-08-11 15:43:18 +02:00
|
|
|
|
}
|