@@ -0,0 +1,43 @@
1+{ stdenv, fetchFromGitHub }:
2+
3+stdenv.mkDerivation rec {
4+ name = "raleway-${version}";
5+ version = "2016-08-30";
6+
7+ src = fetchFromGitHub {
8+ owner = "impallari";
9+ repo = "Raleway";
10+ rev = "fa27f47b087fc093c6ae11cfdeb3999ac602929a";
11+ sha256 = "1i6a14ynm29gqjr7kfk118v69vjpd3g4ylwfvhwa66xax09jkhlr";
12+ };
13+ dontBuild = true;
14+
15+ installPhase = ''
16+ mkdir -p $out/share/fonts/truetype
17+ cp "$src/fonts/OTF v3.000 Fontlab"/*.otf $out/share/fonts/truetype
18+ find -type f -maxdepth 1 -exec cp "{}" $out/ \;
19+ '';
20+
21+ meta = {
22+ description = "Raleway is an elegant sans-serif typeface family";
23+
24+ longDescription = ''
25+ Initially designed by Matt McInerney as a single thin weight, it was
26+ expanded into a 9 weight family by Pablo Impallari and Rodrigo Fuenzalida
27+ in 2012 and iKerned by Igino Marini. In 2013 the Italics where added.
28+
29+ It is a display face and the download features both old style and lining
30+ numerals, standard and discretionary ligatures, a pretty complete set of
31+ diacritics, as well as a stylistic alternate inspired by more geometric
32+ sans-serif typefaces than its neo-grotesque inspired default character
33+ set.
34+
35+ It also has a sister display family, Raleway Dots.
36+ '';
37+
38+ homepage = src.homepage;
39+ license = stdenv.lib.licenses.ofl;
40+
41+ maintainers = with stdenv.lib.maintainers; [ profpatsch ];
42+ };
43+}