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