2017-03-18 19:21:01 +00:00
|
|
|
{ stdenv, fetchurl, unzip }:
|
2015-11-24 00:51:31 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "iosevka-${version}";
|
2017-07-06 16:13:12 +01:00
|
|
|
version = "1.13.1";
|
2015-12-17 09:26:57 +00:00
|
|
|
|
2017-03-18 19:21:01 +00:00
|
|
|
buildInputs = [ unzip ];
|
|
|
|
|
|
|
|
src = fetchurl {
|
2017-04-03 18:30:49 +01:00
|
|
|
url = "https://github.com/be5invis/Iosevka/releases/download/v${version}/iosevka-pack-${version}.zip";
|
2017-07-06 16:13:12 +01:00
|
|
|
sha256 = "05nnzbhv0sidbzzamz10nlh3j974m95p3dmd66165y4wxyhs989i";
|
2015-11-24 00:51:31 +00:00
|
|
|
};
|
2015-12-17 09:26:57 +00:00
|
|
|
|
2017-03-18 19:21:01 +00:00
|
|
|
sourceRoot = ".";
|
|
|
|
|
2015-11-24 00:51:31 +00:00
|
|
|
installPhase = ''
|
|
|
|
fontdir=$out/share/fonts/iosevka
|
|
|
|
|
|
|
|
mkdir -p $fontdir
|
|
|
|
cp -v iosevka-* $fontdir
|
|
|
|
'';
|
2015-12-17 09:26:57 +00:00
|
|
|
|
2016-07-04 08:16:40 +01:00
|
|
|
meta = with stdenv.lib; {
|
2017-08-01 21:03:30 +01:00
|
|
|
homepage = http://be5invis.github.io/Iosevka/;
|
2015-12-17 09:26:57 +00:00
|
|
|
downloadPage = "https://github.com/be5invis/Iosevka/releases";
|
2015-11-24 00:51:31 +00:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|