nixpkgs/pkgs/data/fonts/inconsolata/default.nix
Milan 26187c65b6
inconsolata: change source path for new google fonts (#111556)
#110027 updated google-fonts to a new version. In the source of the new
version, the built Inconsolata font files are in a different
subdirectory.
2021-02-01 14:42:11 +01:00

20 lines
531 B
Nix

{ lib, stdenv, google-fonts }:
stdenv.mkDerivation {
pname = "inconsolata";
inherit (google-fonts) src version;
installPhase = ''
install -m644 --target $out/share/fonts/truetype/inconsolata -D $src/ofl/inconsolata/static/*.ttf
'';
meta = with lib; {
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;
};
}