2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, google-fonts }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
pname = "inconsolata";
|
|
|
|
|
|
|
|
inherit (google-fonts) src version;
|
|
|
|
|
|
|
|
installPhase = ''
|
2021-02-05 17:12:51 +00:00
|
|
|
install -m644 --target $out/share/fonts/truetype/inconsolata -D $src/ofl/inconsolata/static/*.ttf
|
2020-04-24 23:36:52 +00:00
|
|
|
'';
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
homepage = "https://www.levien.com/type/myfonts/inconsolata.html";
|
|
|
|
description = "A monospace font for both screen and print";
|
|
|
|
maintainers = with maintainers; [ mikoim raskin rycee ];
|
|
|
|
license = licenses.ofl;
|
|
|
|
platforms = platforms.all;
|
|
|
|
};
|
|
|
|
}
|