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