2017-11-27 12:34:31 +00:00
|
|
|
{ stdenv, fetchzip }:
|
|
|
|
|
|
|
|
let
|
2019-09-02 05:50:05 +01:00
|
|
|
version = "2.3.0";
|
2019-08-13 22:52:01 +01:00
|
|
|
in fetchzip {
|
2017-11-27 12:34:31 +00:00
|
|
|
name = "iosevka-bin-${version}";
|
|
|
|
|
2018-08-21 18:05:58 +01:00
|
|
|
url = "https://github.com/be5invis/Iosevka/releases/download/v${version}/ttc-iosevka-${version}.zip";
|
2017-11-27 12:34:31 +00:00
|
|
|
|
|
|
|
postFetch = ''
|
|
|
|
mkdir -p $out/share/fonts
|
|
|
|
unzip -j $downloadedFile \*.ttc -d $out/share/fonts/iosevka
|
|
|
|
'';
|
|
|
|
|
2019-09-02 05:50:05 +01:00
|
|
|
sha256 = "0nry6zsmvcj44rijhbvrry84rh5hrixzb4n1mx9c27vvpy33a56w";
|
2017-11-27 12:34:31 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = https://be5invis.github.io/Iosevka/;
|
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|