3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/data/fonts/inconsolata/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

26 lines
714 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub }:
2019-08-13 22:52:01 +01:00
stdenv.mkDerivation {
pname = "inconsolata";
version = "unstable-2021-01-19";
src = fetchFromGitHub {
owner = "google";
repo = "fonts";
rev = "f113126dc4b9b1473d9354a86129c9d7b837aa1a";
sha256 = "0safw5prpa63mqcyfw3gr3a535w4c9hg5ayw5pkppiwil7n3pyxs";
};
2017-11-23 07:21:15 +00:00
installPhase = ''
install -m644 --target $out/share/fonts/truetype/inconsolata -D $src/ofl/inconsolata/*.ttf
2017-11-23 07:21:15 +00:00
'';
meta = with lib; {
homepage = "https://www.levien.com/type/myfonts/inconsolata.html";
description = "A monospace font for both screen and print";
2021-04-18 08:00:18 +01:00
maintainers = with maintainers; [ mikoim raskin ];
license = licenses.ofl;
platforms = platforms.all;
};
}