2023-02-04 13:38:42 +00:00
|
|
|
{ lib, fetchzip, stdenvNoCC }:
|
2016-10-15 02:51:16 +00:00
|
|
|
|
2023-04-21 15:52:05 +00:00
|
|
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
2023-01-30 09:25:57 +00:00
|
|
|
pname = "raleway";
|
2023-02-04 13:38:42 +00:00
|
|
|
version = "4.101";
|
2016-10-15 02:51:16 +00:00
|
|
|
|
2023-02-04 13:38:42 +00:00
|
|
|
src = fetchzip {
|
2023-04-21 15:52:05 +00:00
|
|
|
url = "https://github.com/theleagueof/raleway/releases/download/${finalAttrs.version}/Raleway-${finalAttrs.version}.tar.xz";
|
2023-02-04 13:38:42 +00:00
|
|
|
hash = "sha256-itNHIMoRjiaqYAJoDNetkCquv47VAfel8MAzwsd//Ww=";
|
2023-01-30 09:25:57 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase = ''
|
|
|
|
runHook preInstall
|
2016-10-15 02:51:16 +00:00
|
|
|
|
2023-02-04 13:38:42 +00:00
|
|
|
install -D -m444 -t $out/share/fonts/truetype $src/static/TTF/*.ttf
|
|
|
|
install -D -m444 -t $out/share/fonts/opentype $src/static/OTF/*.otf
|
2016-10-15 02:51:16 +00:00
|
|
|
|
2023-01-30 09:25:57 +00:00
|
|
|
runHook postInstall
|
|
|
|
'';
|
2017-08-10 19:43:49 +00:00
|
|
|
|
2016-10-15 02:51:16 +00:00
|
|
|
meta = {
|
|
|
|
description = "Raleway is an elegant sans-serif typeface family";
|
|
|
|
longDescription = ''
|
|
|
|
Initially designed by Matt McInerney as a single thin weight, it was
|
|
|
|
expanded into a 9 weight family by Pablo Impallari and Rodrigo Fuenzalida
|
2023-02-04 13:38:42 +00:00
|
|
|
in 2012 and iKerned by Igino Marini. In 2013 the Italics where added, and
|
|
|
|
most recently — a variable version.
|
2016-10-15 02:51:16 +00:00
|
|
|
|
2023-02-04 13:38:42 +00:00
|
|
|
It features both old style and lining numerals, standard and
|
|
|
|
discretionary ligatures, a pretty complete set of diacritics, as well as
|
|
|
|
a stylistic alternate inspired by more geometric sans-serif typefaces
|
|
|
|
than its neo-grotesque inspired default character set.
|
2016-10-15 02:51:16 +00:00
|
|
|
|
|
|
|
It also has a sister display family, Raleway Dots.
|
|
|
|
'';
|
2023-02-04 13:38:42 +00:00
|
|
|
homepage = "https://www.theleagueofmoveabletype.com/raleway";
|
2019-05-13 01:55:32 +00:00
|
|
|
license = lib.licenses.ofl;
|
2023-07-07 10:52:12 +00:00
|
|
|
maintainers = with lib.maintainers; [ minijackson ];
|
2016-10-15 02:51:16 +00:00
|
|
|
};
|
2023-02-04 13:38:42 +00:00
|
|
|
})
|