diff options
Diffstat (limited to 'nixpkgs/pkgs/data/fonts/ubuntu-font-family/default.nix')
-rw-r--r-- | nixpkgs/pkgs/data/fonts/ubuntu-font-family/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/nixpkgs/pkgs/data/fonts/ubuntu-font-family/default.nix b/nixpkgs/pkgs/data/fonts/ubuntu-font-family/default.nix new file mode 100644 index 000000000000..e78f86fede44 --- /dev/null +++ b/nixpkgs/pkgs/data/fonts/ubuntu-font-family/default.nix @@ -0,0 +1,26 @@ +{ stdenv, fetchzip }: + +fetchzip rec { + name = "ubuntu-font-family-0.83"; + + url = "http://font.ubuntu.com/download/${name}.zip"; + + postFetch = '' + mkdir -p $out/share/fonts + unzip -j $downloadedFile \*.ttf -d $out/share/fonts/ubuntu + ''; + + sha256 = "090y665h4kf2bi623532l6wiwkwnpd0xds0jr7560xwfwys1hiqh"; + + 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 = stdenv.lib.licenses.free; + platforms = stdenv.lib.platforms.all; + maintainers = [ stdenv.lib.maintainers.antono ]; + }; +} |