From 875d01752204db9983a94b881ad27ce86f21b46c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C2=B7=F0=90=91=91=F0=90=91=B4=F0=90=91=95=F0=90=91=91?= =?UTF-8?q?=F0=90=91=A9=F0=90=91=A4?= Date: Sat, 14 Jun 2025 12:42:26 +0700 Subject: [PATCH] antonio-font: init at unstable-2013-11-21 --- pkgs/by-name/an/antonio-font/package.nix | 42 ++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 pkgs/by-name/an/antonio-font/package.nix diff --git a/pkgs/by-name/an/antonio-font/package.nix b/pkgs/by-name/an/antonio-font/package.nix new file mode 100644 index 000000000000..d9ff06682f2b --- /dev/null +++ b/pkgs/by-name/an/antonio-font/package.nix @@ -0,0 +1,42 @@ +{ + lib, + stdenv, + fetchFromGitHub, +}: + +stdenv.mkDerivation { + pname = "antonio"; + version = "0-unstable-2013-11-21"; + + src = fetchFromGitHub { + owner = "vernnobile"; + repo = "antonioFont"; + rev = "4b3e07ab5647a613931153a09067a785f54b980a"; + hash = "sha256-/mlVAEMkhmj6NUcAa9HHtpWw4lS5ze9IXw9IsrHd2J0="; + }; + + installPhase = '' + runHook preInstall + mkdir -p $out/share/fonts/truetype + cp $src/{Bold,Light,Regular}/*.ttf $out/share/fonts/truetype + runHook postInstall + ''; + + meta = { + homepage = "https://github.com/vernnobile/antonioFont"; + description = "condensed, sans serif font for larger display, headline & banner use, based on Anton"; + longDescription = '' + Antonio is a ‘refined’ version of the Anton Font. Anton is a single + weight web font, designed specifically for larger display, headline and + ‘banner’ use (see Google’s PR for the Chromebook notebooks that used + Anton, big and bright). + + Antonio extends the Anton design to include more weights and introduces + refinements to the design that makes it also suitable for use in smaller + headings, menus and ‘buttons’ etc. + ''; + license = lib.licenses.ofl; # in fontinfo.plist files + platforms = lib.platforms.all; + maintainers = with lib.maintainers; [ toastal ]; + }; +}