nixpkgs/pkgs/data/fonts/inconsolata/default.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

25 lines
719 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 = "Monospace font for both screen and print";
maintainers = with maintainers; [ appsforartists mikoim raskin ];
license = licenses.ofl;
platforms = platforms.all;
};
}