nixpkgs-suyu/pkgs/data/fonts/inconsolata/default.nix
Daniel Schaefer bac4d95aa2 treewide: Change URLs to HTTPS
Lots of URLs were HTTP redirect to HTTPS. Changed those and checked them
if there's actual content. Inspired by
https://github.com/NixOS/nixpkgs/issues/60004
2019-04-22 10:19:54 +02:00

19 lines
538 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 = 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;
};
}