git.iko.soy/typeable/nixpkgs
on master help sign in
raleway: init at 2016-08-30
commita1d3af2082a9bf4b9e373f00deb63517afa65dcd authorProfpatsch <mail@profpatsch.de> dateSat 15 Oct 2016, 04:51 (10 years ago) parent2398a66
2 files changed+45
pkgs/data/fonts/raleway/default.nix+43 pkgs/top-level/all-packages.nix+2
pkgs/data/fonts/raleway/default.nixnew file+43
@@ -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+}
pkgs/top-level/all-packages.nix+2
@@ -11803,6 +11803,8 @@ in
1180311803
1180411804 r5rs = callPackage ../data/documentation/rnrs/r5rs.nix { };
1180511805
11806+ raleway = callPackage ../data/fonts/raleway { };
11807+
1180611808 roboto = callPackage ../data/fonts/roboto { };
1180711809
1180811810 roboto-mono = callPackage ../data/fonts/roboto-mono { };