2017-11-23 16:43:48 +01:00
|
|
|
{ stdenv, google-fonts }:
|
2010-11-24 12:19:38 +01:00
|
|
|
|
2017-11-23 08:21:15 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2017-08-10 21:43:49 +02:00
|
|
|
name = "inconsolata-${version}";
|
2010-11-24 12:19:38 +01:00
|
|
|
|
2017-11-23 16:43:48 +01:00
|
|
|
inherit (google-fonts) src version;
|
2010-11-24 12:19:38 +01:00
|
|
|
|
2017-11-23 08:21:15 +01:00
|
|
|
installPhase = ''
|
|
|
|
install -m644 --target $out/share/fonts/truetype/inconsolata -D $src/ofl/inconsolata/*.ttf
|
|
|
|
'';
|
2010-11-24 12:19:38 +01:00
|
|
|
|
2015-06-12 00:17:53 +02:00
|
|
|
meta = with stdenv.lib; {
|
|
|
|
homepage = http://www.levien.com/type/myfonts/inconsolata.html;
|
2010-11-24 12:19:38 +01:00
|
|
|
description = "A monospace font for both screen and print";
|
2017-11-23 08:21:15 +01:00
|
|
|
maintainers = with maintainers; [ mikoim raskin rycee ];
|
2015-06-12 00:17:53 +02:00
|
|
|
license = licenses.ofl;
|
|
|
|
platforms = platforms.all;
|
2010-11-24 12:19:38 +01:00
|
|
|
};
|
2015-06-12 00:17:53 +02:00
|
|
|
}
|