2017-11-27 04:34:31 -08:00
|
|
|
{ stdenv, fetchzip }:
|
|
|
|
|
|
|
|
let
|
2020-08-25 11:14:02 -07:00
|
|
|
version = "3.4.6";
|
2019-08-13 14:52:01 -07:00
|
|
|
in fetchzip {
|
2017-11-27 04:34:31 -08:00
|
|
|
name = "iosevka-bin-${version}";
|
|
|
|
|
2018-08-21 10:05:58 -07:00
|
|
|
url = "https://github.com/be5invis/Iosevka/releases/download/v${version}/ttc-iosevka-${version}.zip";
|
2017-11-27 04:34:31 -08:00
|
|
|
|
|
|
|
postFetch = ''
|
|
|
|
mkdir -p $out/share/fonts
|
2020-08-11 03:27:37 -07:00
|
|
|
unzip -j $downloadedFile \*.ttc -d $out/share/fonts/truetype
|
2017-11-27 04:34:31 -08:00
|
|
|
'';
|
|
|
|
|
2020-08-25 11:14:02 -07:00
|
|
|
sha256 = "1nab49gkpxahwvvw39xcc32q425qkccr7ffmz87jbcdv71qy7pp9";
|
2017-11-27 04:34:31 -08:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2020-04-02 13:01:48 -07:00
|
|
|
homepage = "https://be5invis.github.io/Iosevka/";
|
2017-11-27 04:34:31 -08:00
|
|
|
downloadPage = "https://github.com/be5invis/Iosevka/releases";
|
|
|
|
description = ''
|
|
|
|
Slender monospace sans-serif and slab-serif typeface inspired by Pragmata
|
|
|
|
Pro, M+ and PF DIN Mono, designed to be the ideal font for programming.
|
|
|
|
'';
|
|
|
|
license = licenses.ofl;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = [ maintainers.cstrahan ];
|
|
|
|
};
|
|
|
|
}
|