nixpkgs/pkgs/by-name/ra/raleway/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

41 lines
1.4 KiB
Nix
Raw Normal View History

2023-02-04 13:38:42 +00:00
{ lib, fetchzip, stdenvNoCC }:
2016-10-15 02:51:16 +00:00
stdenvNoCC.mkDerivation (finalAttrs: {
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 {
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=";
};
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
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";
license = lib.licenses.ofl;
maintainers = with lib.maintainers; [ minijackson ];
2016-10-15 02:51:16 +00:00
};
2023-02-04 13:38:42 +00:00
})