mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-24 14:43:37 +00:00
98ed8c2346
added coding ligatures like =>, and !== https://github.com/google/fonts/blob/main/ofl/inconsolata/FONTLOG.txt
26 lines
721 B
Nix
26 lines
721 B
Nix
{ lib, stdenv, fetchFromGitHub }:
|
|
|
|
stdenv.mkDerivation {
|
|
pname = "inconsolata";
|
|
version = "3.001";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "google";
|
|
repo = "fonts";
|
|
rev = "0f203e3740b5eb77e0b179dff1e5869482676782";
|
|
sha256 = "sha256-Q8eUJ0mkoB245Ifz5ulxx61x4+AqKhG0uqhWF2nSLpw=";
|
|
};
|
|
|
|
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; [ appsforartists mikoim raskin ];
|
|
license = licenses.ofl;
|
|
platforms = platforms.all;
|
|
};
|
|
}
|