nixpkgs/pkgs/data/fonts/raleway/default.nix

41 lines
1.3 KiB
Nix
Raw Normal View History

2017-08-10 19:43:49 +00:00
{ stdenv, fetchzip }:
2016-10-15 02:51:16 +00:00
2017-08-10 19:43:49 +00:00
let
2016-10-15 02:51:16 +00:00
version = "2016-08-30";
2017-08-10 19:43:49 +00:00
in fetchzip {
name = "raleway-${version}";
2016-10-15 02:51:16 +00:00
2017-08-10 19:43:49 +00:00
url = https://github.com/impallari/Raleway/archive/fa27f47b087fc093c6ae11cfdeb3999ac602929a.zip;
2016-10-15 02:51:16 +00:00
2017-08-10 19:43:49 +00:00
postFetch = ''
mkdir -p $out/share/fonts
unzip -j $downloadedFile \*-Original.otf -d $out/share/fonts/opentype
unzip -j $downloadedFile \*.txt \*.md -d $out
2016-10-15 02:51:16 +00:00
'';
2017-08-10 19:43:49 +00:00
sha256 = "16jr7drqg2wib2q48ajlsa7rh1jxjibl1wd4rjndi49vfl463j60";
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
in 2012 and iKerned by Igino Marini. In 2013 the Italics where added.
It is a display face and the download 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.
It also has a sister display family, Raleway Dots.
'';
2017-08-10 19:43:49 +00:00
homepage = https://github.com/impallari/Raleway;
2016-10-15 02:51:16 +00:00
license = stdenv.lib.licenses.ofl;
maintainers = with stdenv.lib.maintainers; [ Profpatsch ];
2016-10-15 02:51:16 +00:00
};
}