diff options
author | Michael Fellinger <m.fellinger@gmail.com> | 2015-11-18 12:04:15 +0100 |
---|---|---|
committer | Michael Fellinger <m.fellinger@gmail.com> | 2015-11-18 12:19:37 +0100 |
commit | 08c6a2cd92ccd3bc1e5b7775d1488a54655d3d09 (patch) | |
tree | fbc42871410920af709ce77b90ccd349efdd752a /pkgs/data/fonts/google-fonts | |
parent | 7ae05edcdd14f6ace83ead9bf0d114e97c89a83a (diff) | |
download | nixpkgs-08c6a2cd92ccd3bc1e5b7775d1488a54655d3d09.tar nixpkgs-08c6a2cd92ccd3bc1e5b7775d1488a54655d3d09.tar.gz nixpkgs-08c6a2cd92ccd3bc1e5b7775d1488a54655d3d09.tar.bz2 nixpkgs-08c6a2cd92ccd3bc1e5b7775d1488a54655d3d09.tar.lz nixpkgs-08c6a2cd92ccd3bc1e5b7775d1488a54655d3d09.tar.xz nixpkgs-08c6a2cd92ccd3bc1e5b7775d1488a54655d3d09.tar.zst nixpkgs-08c6a2cd92ccd3bc1e5b7775d1488a54655d3d09.zip |
google-fonts: init at 2015-11-18
Diffstat (limited to 'pkgs/data/fonts/google-fonts')
-rw-r--r-- | pkgs/data/fonts/google-fonts/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/data/fonts/google-fonts/default.nix b/pkgs/data/fonts/google-fonts/default.nix new file mode 100644 index 00000000000..9f14f945e35 --- /dev/null +++ b/pkgs/data/fonts/google-fonts/default.nix @@ -0,0 +1,26 @@ +{ stdenv, fetchurl }: + +stdenv.mkDerivation rec { + name = "google-fonts"; + version = "2015-11-18"; + + src = fetchurl { + url = "https://github.com/google/fonts/archive/a26bc2b9f4ad27266c2587dc0355b3066519844a.tar.gz"; + sha256 = "1aizwzsxg30mjds1628280bs7ishgsfairnx131654gm51aihw8p"; + }; + + phases = [ "unpackPhase" "installPhase" ]; + + installPhase = '' + mkdir -p $out/share/fonts/truetype + find . -name "*.ttf" -exec cp -v {} $out/share/fonts/truetype \; + ''; + + meta = with stdenv.lib; { + homepage = https://www.google.com/fontsl; + description = "Font files available from Google Font"; + license = with licenses; [ asl20 ofl ufl ]; + platforms = platforms.all; + maintainer = with maintainers; [ manveru ]; + }; +} |