mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
c9eb44eab3
* make font derivations fixed-output where applicable * fix dead links * `stdenv.lib` -> `lib` where `stdenv` is not involved * remove `meta.platforms = [ unix ]` and `meta.platforms = [ linux ]` because the restriction has no sense for data packages
26 lines
806 B
Nix
26 lines
806 B
Nix
{ lib, fetchzip }:
|
|
|
|
fetchzip rec {
|
|
name = "ubuntu-font-family-0.83";
|
|
|
|
url = "https://assets.ubuntu.com/v1/fad7939b-ubuntu-font-family-0.83.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 = lib.licenses.free;
|
|
platforms = lib.platforms.all;
|
|
maintainers = [ lib.maintainers.antono ];
|
|
};
|
|
}
|