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

20 lines
524 B
Nix
Raw Normal View History

{ lib, stdenv, google-fonts }:
2019-08-13 21:52:01 +00:00
stdenv.mkDerivation {
pname = "inconsolata";
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 lib; {
homepage = "https://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;
};
}