2016-07-04 08:16:40 +01:00
|
|
|
{ stdenv, fetchFromGitHub }:
|
2015-11-24 00:51:31 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "iosevka-${version}";
|
2015-12-17 09:26:57 +00:00
|
|
|
version = "1.4.2";
|
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "be5invis";
|
|
|
|
repo = "Iosevka";
|
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1h1lmvjpjk0238bhdhnv2c149s98qpbndc8rxzlk6bhmxcy6rwsk";
|
2015-11-24 00:51:31 +00:00
|
|
|
};
|
2015-12-17 09:26:57 +00:00
|
|
|
|
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; {
|
2015-11-24 00:51:31 +00: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 ];
|
|
|
|
};
|
|
|
|
}
|