From 74b21252eeb269e9ab3b8bebd8b50697c3705718 Mon Sep 17 00:00:00 2001 From: S-K-Tiger <55139409+S-K-Tiger@users.noreply.github.com> Date: Sat, 31 Jan 2026 16:07:42 +0100 Subject: [PATCH] readexpro: init at 1.2 --- pkgs/by-name/re/readexpro/package.nix | 50 +++++++++++++++++++++++++++ 1 file changed, 50 insertions(+) create mode 100644 pkgs/by-name/re/readexpro/package.nix diff --git a/pkgs/by-name/re/readexpro/package.nix b/pkgs/by-name/re/readexpro/package.nix new file mode 100644 index 000000000000..ece57f4db72d --- /dev/null +++ b/pkgs/by-name/re/readexpro/package.nix @@ -0,0 +1,50 @@ +{ + lib, + fetchFromGitHub, + stdenvNoCC, +}: + +stdenvNoCC.mkDerivation { + pname = "readexpro"; + version = "1.2"; + + src = fetchFromGitHub { + owner = "ThomasJockin"; + repo = "readexpro"; + rev = "563dfbb36ae45e52ec50829b016ce724ac2fca70"; + # Upstream repository does not have any tagged releases. The version number seems to only be mentioned in the README.md. + hash = "sha256-+CLym2N2O6Opv7pxuVA+sfiENggPD5HRJrVByzaMMN8="; + }; + + dontBuild = true; + dontConfigure = true; + + installPhase = '' + runHook preInstall + + mkdir -p $out/share/fonts/ + cp -r $src/fonts/. $out/share/fonts/ + + runHook postInstall + ''; + + meta = { + description = "World-script expansion of Lexend"; + longDescription = '' + Readex is the world-script expansion of the font Lexend designed by Thomas Jockin and Nadine Chahine. Readex currently supports Latin and Arabic. + + Lexend is a variable typeface designed by Bonnie Shaver-Troup and Thomas Jockin in 2018. Applying the Shaver-Troup Individually Optimal Text Formation Factors, studies have found readers instantaneously improve their reading fluency. + + This font is based on the Quicksand project from Andrew Paglinawan, initiated in 2008. Quicksand was improved in 2016 by Thomas Jockin for Google Fonts. Thomas modified Quicksand for the specialized task of improving reading fluency in low-proficiency readers (including those with dyslexia.) + ''; + homepage = "http://www.lexend.com/"; + + # The fetched Font Software is licensed under the SIL Open Font License, Version 1.1. + # see https://scripts.sil.org/OFL + license = lib.licenses.ofl; + + platforms = lib.platforms.all; + + maintainers = with lib.maintainers; [ S-K-Tiger ]; + }; +}