nixpkgs/pkgs/data/fonts/inconsolata/default.nix

20 lines
537 B
Nix
Raw Normal View History

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