Unverified Commit 184ab9a1 authored by Yohann Boniface's avatar Yohann Boniface Committed by GitHub
Browse files

readexpro: init at 1.2 (#407653)

parents c4834cc7 74b21252
Loading
Loading
Loading
Loading
+5 −0
Original line number Diff line number Diff line
@@ -23262,6 +23262,11 @@
    githubId = 766350;
    name = "Richard Zetterberg";
  };
  S-K-Tiger = {
    name = "Vicar Tineamica";
    github = "S-K-Tiger";
    githubId = 55139409;
  };
  S0AndS0 = {
    name = "S0AndS0";
    email = "S0AndS0@digital-mercenaries.com";
+50 −0
Original line number Diff line number Diff line
{
  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 ];
  };
}