mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-16 18:37:04 +03:00
20 lines
537 B
Nix
20 lines
537 B
Nix
{ stdenv, google-fonts }:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "inconsolata-${version}";
|
|
|
|
inherit (google-fonts) src version;
|
|
|
|
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";
|
|
maintainers = with maintainers; [ mikoim raskin rycee ];
|
|
license = licenses.ofl;
|
|
platforms = platforms.all;
|
|
};
|
|
}
|