raleway: fetch from up-to-date repo

This commit is contained in:
Minijackson 2023-02-04 14:38:42 +01:00
parent a13e71c8e6
commit 6d94034d53

View file

@ -1,44 +1,40 @@
{ lib, stdenvNoCC, fetchFromGitHub }: { lib, fetchzip, stdenvNoCC }:
stdenvNoCC.mkDerivation { stdenvNoCC.mkDerivation (self: {
pname = "raleway"; pname = "raleway";
version = "2016-08-30"; version = "4.101";
src = fetchFromGitHub { src = fetchzip {
owner = "impallari"; url = "https://github.com/theleagueof/raleway/releases/download/${self.version}/Raleway-${self.version}.tar.xz";
repo = "Raleway"; hash = "sha256-itNHIMoRjiaqYAJoDNetkCquv47VAfel8MAzwsd//Ww=";
rev = "fa27f47b087fc093c6ae11cfdeb3999ac602929a";
hash = "sha256-mcIpE+iqG6M43I5TT95oV+5kNgphunmyxC+Jaj0JysQ=";
}; };
installPhase = '' installPhase = ''
runHook preInstall runHook preInstall
find . -name "*-Original.otf" -exec install -Dt $out/share/fonts/opentype {} \; install -D -m444 -t $out/share/fonts/truetype $src/static/TTF/*.ttf
install -D -m444 -t $out/share/fonts/opentype $src/static/OTF/*.otf
runHook postInstall runHook postInstall
''; '';
meta = { meta = {
description = "Raleway is an elegant sans-serif typeface family"; description = "Raleway is an elegant sans-serif typeface family";
longDescription = '' longDescription = ''
Initially designed by Matt McInerney as a single thin weight, it was Initially designed by Matt McInerney as a single thin weight, it was
expanded into a 9 weight family by Pablo Impallari and Rodrigo Fuenzalida expanded into a 9 weight family by Pablo Impallari and Rodrigo Fuenzalida
in 2012 and iKerned by Igino Marini. In 2013 the Italics where added. in 2012 and iKerned by Igino Marini. In 2013 the Italics where added, and
most recently a variable version.
It is a display face and the download features both old style and lining It features both old style and lining numerals, standard and
numerals, standard and discretionary ligatures, a pretty complete set of discretionary ligatures, a pretty complete set of diacritics, as well as
diacritics, as well as a stylistic alternate inspired by more geometric a stylistic alternate inspired by more geometric sans-serif typefaces
sans-serif typefaces than its neo-grotesque inspired default character than its neo-grotesque inspired default character set.
set.
It also has a sister display family, Raleway Dots. It also has a sister display family, Raleway Dots.
''; '';
homepage = "https://www.theleagueofmoveabletype.com/raleway";
homepage = "https://github.com/impallari/Raleway";
license = lib.licenses.ofl; license = lib.licenses.ofl;
maintainers = with lib.maintainers; [ minijackson Profpatsch ];
maintainers = with lib.maintainers; [ Profpatsch ];
}; };
} })