2017-11-27 13:34:31 +01:00
|
|
|
{ stdenv, fetchzip }:
|
|
|
|
|
|
|
|
let
|
2018-10-06 05:29:03 +02:00
|
|
|
version = "2.0.1";
|
2017-11-27 13:34:31 +01:00
|
|
|
in fetchzip rec {
|
|
|
|
name = "iosevka-bin-${version}";
|
|
|
|
|
2018-08-21 19:05:58 +02:00
|
|
|
url = "https://github.com/be5invis/Iosevka/releases/download/v${version}/ttc-iosevka-${version}.zip";
|
2017-11-27 13:34:31 +01:00
|
|
|
|
|
|
|
postFetch = ''
|
|
|
|
mkdir -p $out/share/fonts
|
|
|
|
unzip -j $downloadedFile \*.ttc -d $out/share/fonts/iosevka
|
|
|
|
'';
|
|
|
|
|
2018-10-06 05:29:03 +02:00
|
|
|
sha256 = "1i21ja348k22rlf8z9jp90cidpmcnwqsw12vdrmm556sdwdkrkpc";
|
2017-11-27 13:34:31 +01: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 ];
|
|
|
|
};
|
|
|
|
}
|