diff options
author | Profpatsch <mail@profpatsch.de> | 2016-10-15 04:51:16 +0200 |
---|---|---|
committer | Profpatsch <mail@profpatsch.de> | 2016-10-15 06:49:38 +0200 |
commit | a1d3af2082a9bf4b9e373f00deb63517afa65dcd (patch) | |
tree | 93899ef0fc525db93a948b9a66b3e282646ecebd | |
parent | 2398a66859c6cbfc26ed57f5bda68c0e2da00a7d (diff) | |
download | nixpkgs-a1d3af2082a9bf4b9e373f00deb63517afa65dcd.tar nixpkgs-a1d3af2082a9bf4b9e373f00deb63517afa65dcd.tar.gz nixpkgs-a1d3af2082a9bf4b9e373f00deb63517afa65dcd.tar.bz2 nixpkgs-a1d3af2082a9bf4b9e373f00deb63517afa65dcd.tar.lz nixpkgs-a1d3af2082a9bf4b9e373f00deb63517afa65dcd.tar.xz nixpkgs-a1d3af2082a9bf4b9e373f00deb63517afa65dcd.tar.zst nixpkgs-a1d3af2082a9bf4b9e373f00deb63517afa65dcd.zip |
raleway: init at 2016-08-30
-rw-r--r-- | pkgs/data/fonts/raleway/default.nix | 43 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 45 insertions, 0 deletions
diff --git a/pkgs/data/fonts/raleway/default.nix b/pkgs/data/fonts/raleway/default.nix new file mode 100644 index 00000000000..2bc90e83d14 --- /dev/null +++ b/pkgs/data/fonts/raleway/default.nix @@ -0,0 +1,43 @@ +{ stdenv, fetchFromGitHub }: + +stdenv.mkDerivation rec { + name = "raleway-${version}"; + version = "2016-08-30"; + + src = fetchFromGitHub { + owner = "impallari"; + repo = "Raleway"; + rev = "fa27f47b087fc093c6ae11cfdeb3999ac602929a"; + sha256 = "1i6a14ynm29gqjr7kfk118v69vjpd3g4ylwfvhwa66xax09jkhlr"; + }; + dontBuild = true; + + installPhase = '' + mkdir -p $out/share/fonts/truetype + cp "$src/fonts/OTF v3.000 Fontlab"/*.otf $out/share/fonts/truetype + find -type f -maxdepth 1 -exec cp "{}" $out/ \; + ''; + + 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. + ''; + + homepage = src.homepage; + license = stdenv.lib.licenses.ofl; + + maintainers = with stdenv.lib.maintainers; [ profpatsch ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index fde0552e00c..fc02fade64b 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -11803,6 +11803,8 @@ in r5rs = callPackage ../data/documentation/rnrs/r5rs.nix { }; + raleway = callPackage ../data/fonts/raleway { }; + roboto = callPackage ../data/fonts/roboto { }; roboto-mono = callPackage ../data/fonts/roboto-mono { }; |