From 41fe4cfdcd0d2809bc074abd2e4df86852f5ec8b Mon Sep 17 00:00:00 2001 From: pancaek <20342389+pancaek@users.noreply.github.com> Date: Sat, 22 Feb 2025 19:53:15 -0800 Subject: [PATCH 1/2] atkinson-hyperlegible-next: init at 2.001-unstable-2025-02-21 --- .../at/atkinson-hyperlegible-next/package.nix | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pkgs/by-name/at/atkinson-hyperlegible-next/package.nix diff --git a/pkgs/by-name/at/atkinson-hyperlegible-next/package.nix b/pkgs/by-name/at/atkinson-hyperlegible-next/package.nix new file mode 100644 index 000000000000..639b4d5040da --- /dev/null +++ b/pkgs/by-name/at/atkinson-hyperlegible-next/package.nix @@ -0,0 +1,36 @@ +{ + lib, + stdenvNoCC, + fetchFromGitHub, +}: + +stdenvNoCC.mkDerivation { + pname = "atkinson-hyperlegible-next"; + version = "2.001-unstable-2025-02-21"; + + src = fetchFromGitHub { + owner = "googlefonts"; + repo = "atkinson-hyperlegible-next"; + rev = "7925f50f649b3813257faf2f4c0b381011f434f1"; + hash = "sha256-LhwfYI5Z6BhO7OaY/RwXT7r3WYiUY9AO2HL3MmhPpQY="; + }; + + dontBuild = true; + + installPhase = '' + runHook preInstall + + install -Dm644 -t $out/share/fonts/opentype fonts/otf/* + install -Dm644 -t $out/share/fonts/variable fonts/variable/* + + runHook postInstall + ''; + + meta = { + description = "New (2024) second version of the Atkinson Hyperlegible fonts"; + homepage = "https://www.brailleinstitute.org/freefont/"; + license = lib.licenses.ofl; + maintainers = with lib.maintainers; [ pancaek ]; + platforms = lib.platforms.all; + }; +} From 708f236f3bdec6ee2d344cd91a42cd09c6c27edd Mon Sep 17 00:00:00 2001 From: pancaek <20342389+pancaek@users.noreply.github.com> Date: Sat, 22 Feb 2025 19:53:57 -0800 Subject: [PATCH 2/2] atkinson-hyperlegible-mono: init at 2.001-unstable-2024-11-20 --- .../at/atkinson-hyperlegible-mono/package.nix | 36 +++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 pkgs/by-name/at/atkinson-hyperlegible-mono/package.nix diff --git a/pkgs/by-name/at/atkinson-hyperlegible-mono/package.nix b/pkgs/by-name/at/atkinson-hyperlegible-mono/package.nix new file mode 100644 index 000000000000..ac492f1dee9f --- /dev/null +++ b/pkgs/by-name/at/atkinson-hyperlegible-mono/package.nix @@ -0,0 +1,36 @@ +{ + lib, + stdenvNoCC, + fetchFromGitHub, +}: + +stdenvNoCC.mkDerivation { + pname = "atkinson-hyperlegible-mono"; + version = "2.001-unstable-2024-11-20"; + + src = fetchFromGitHub { + owner = "googlefonts"; + repo = "atkinson-hyperlegible-next-mono"; + rev = "154d50362016cc3e873eb21d242cd0772384c8f9"; + hash = "sha256-V0zWbNYT3RGO9vjX+GHfO38ywMozcZVJkBZH+8G5sC0="; + }; + + dontBuild = true; + + installPhase = '' + runHook preInstall + + install -Dm644 -t $out/share/fonts/opentype fonts/otf/* + install -Dm644 -t $out/share/fonts/variable fonts/variable/* + + runHook postInstall + ''; + + meta = { + description = "New (2024) monospace sibling family to Atkinson Hyperlegible Next"; + homepage = "https://www.brailleinstitute.org/freefont/"; + license = lib.licenses.ofl; + maintainers = with lib.maintainers; [ pancaek ]; + platforms = lib.platforms.all; + }; +}