2012-06-23 02:55:47 +04:00
|
|
|
{ stdenv, fetchurl, unzip }:
|
|
|
|
|
2012-06-23 03:42:37 +04:00
|
|
|
stdenv.mkDerivation rec {
|
2015-10-25 21:11:53 +03:00
|
|
|
name = "ubuntu-font-family-0.83";
|
2012-06-23 02:55:47 +04:00
|
|
|
buildInputs = [unzip];
|
|
|
|
|
|
|
|
src = fetchurl {
|
2012-06-23 03:38:27 +04:00
|
|
|
url = "http://font.ubuntu.com/download/${name}.zip";
|
2015-10-25 21:11:53 +03:00
|
|
|
sha256 = "0hjvq2x758dx0sfwqhzflns0ns035qm7h6ygskbx1svzg517sva5";
|
2012-06-23 02:55:47 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
installPhase =
|
|
|
|
''
|
|
|
|
mkdir -p $out/share/fonts/ubuntu
|
|
|
|
cp *.ttf $out/share/fonts/ubuntu
|
|
|
|
'';
|
|
|
|
|
|
|
|
meta = {
|
2012-06-23 03:23:02 +04:00
|
|
|
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/;
|
2014-11-06 03:44:33 +03:00
|
|
|
license = stdenv.lib.licenses.free;
|
2012-06-23 03:23:02 +04:00
|
|
|
platforms = stdenv.lib.platforms.all;
|
|
|
|
maintainers = [ stdenv.lib.maintainers.antono ];
|
2012-06-23 02:55:47 +04:00
|
|
|
};
|
|
|
|
}
|