summary refs log tree commit diff
path: root/pkgs/data/fonts/ubuntu-font-family/default.nix
blob: f7f5e6d3fb538650a331b76ed597483d713121bf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ stdenv, fetchurl, unzip }:

stdenv.mkDerivation rec {
  name = "ubuntu-font-family-0.80";
  buildInputs = [unzip];

  src = fetchurl {
    url = http://font.ubuntu.com/download/ubuntu-font-family-0.80.zip;
    sha256 = "0k4f548riq23gmw4zhn30qqkcpaj4g2ab5rbc3lflfxwkc4p0w8h";
  };

  installPhase =
    ''
      mkdir -p $out/share/fonts/ubuntu
      cp *.ttf $out/share/fonts/ubuntu
    '';

  meta = {
    description = "Ubuntu Font Family";
    longDescription = "The Ubuntu typeface has been specially
    created to complement the Ubuntu tone of voice. It has a
    contemporary style and contains characteristics unique to
    the Ubuntu brand that convey a precise, reliable and free attitude.";
    homepage = http://font.ubuntu.com/;
    license = free;
    platforms = stdenv.lib.platforms.all;
    maintainers = [ stdenv.lib.maintainers.antono ];
  };
}