nixpkgs/pkgs/data/fonts/sorts-mill-goudy/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

37 lines
1.1 KiB
Nix
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

{ lib, fetchFromGitHub, stdenvNoCC }:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "sorts-mill-goudy";
version = "2011-05-25";
src = fetchFromGitHub {
owner = "theleagueof";
repo = finalAttrs.pname;
rev = "06072890c7b05f274215a24f17449655ccb2c8af";
hash = "sha256-NEfLBJatUmdUL5gJEimJHZfOd1OtI7pxTN97eWMODyM=";
};
installPhase = ''
runHook preInstall
install -D -m444 -t $out/share/fonts/truetype $src/*.ttf
install -D -m444 -t $out/share/fonts/opentype $src/*.otf
runHook postInstall
'';
meta = {
description = "revival of Goudy Oldstyle and Italic";
longDescription = ''
A 'revival' of Goudy Oldstyle and Italic, with features including small
capitals (in the roman only), oldstyle and lining figures, superscripts
and subscripts, fractions, ligatures, class-based kerning, case-sensitive
forms, and capital spacing. There is support for many languages using
latin scripts.
'';
homepage = "https://www.theleagueofmoveabletype.com/sorts-mill-goudy";
license = lib.licenses.ofl;
maintainers = with lib.maintainers; [ minijackson ];
};
})