2021-01-11 08:54:33 +01:00
|
|
|
{ lib, stdenv, google-fonts }:
|
2010-11-24 12:19:38 +01:00
|
|
|
|
2019-08-13 23:52:01 +02:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "inconsolata";
|
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 = ''
|
2021-02-01 14:42:11 +01:00
|
|
|
install -m644 --target $out/share/fonts/truetype/inconsolata -D $src/ofl/inconsolata/static/*.ttf
|
2017-11-23 08:21:15 +01:00
|
|
|
'';
|
2010-11-24 12:19:38 +01:00
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://www.levien.com/type/myfonts/inconsolata.html";
|
2010-11-24 12:19:38 +01:00
|
|
|
description = "A monospace font for both screen and print";
|
2021-04-18 09:00:18 +02:00
|
|
|
maintainers = with maintainers; [ mikoim raskin ];
|
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
|
|
|
}
|