lol

Revert "ubuntu-font-family: use mkDerivation"

This reverts commit 73e9cb6a78edb3e2d6c460688554e8afcad61d32.

+12 -16
+12 -16
pkgs/data/fonts/ubuntu-font-family/default.nix
··· 1 - { lib, stdenv, fetchzip }: 2 3 - stdenv.mkDerivation rec { 4 - pname = "ubuntu-font-family"; 5 - version = "0.83"; 6 7 - src = fetchzip { 8 - url = "https://assets.ubuntu.com/v1/fad7939b-${pname}-${version}.zip"; 9 - hash = "sha256-FAg1xn8Gcbwmuvqtg9SquSet4oTT9nqE+Izeq7ZMVcA="; 10 - }; 11 12 - installPhase = '' 13 - install -D -m 644 -t "$out/share/fonts/truetype" *.ttf 14 ''; 15 16 - outputHashMode = "recursive"; 17 - outputHash = "sha256-EEcYtOeOd2DKyRLo1kG7lk8euaFilCFMXMJNAosxHiQ="; 18 19 - meta = with lib; { 20 description = "Ubuntu Font Family"; 21 longDescription = "The Ubuntu typeface has been specially 22 created to complement the Ubuntu tone of voice. It has a 23 contemporary style and contains characteristics unique to 24 the Ubuntu brand that convey a precise, reliable and free attitude."; 25 homepage = "http://font.ubuntu.com/"; 26 - license = licenses.free; 27 - platforms = platforms.all; 28 - maintainers = with maintainers; [ antono ]; 29 }; 30 }
··· 1 + { lib, fetchzip }: 2 3 + fetchzip { 4 + name = "ubuntu-font-family-0.83"; 5 6 + url = "https://assets.ubuntu.com/v1/fad7939b-ubuntu-font-family-0.83.zip"; 7 8 + postFetch = '' 9 + mkdir -p $out/share/fonts 10 + unzip -j $downloadedFile \*.ttf -d $out/share/fonts/ubuntu 11 ''; 12 13 + sha256 = "090y665h4kf2bi623532l6wiwkwnpd0xds0jr7560xwfwys1hiqh"; 14 15 + meta = { 16 description = "Ubuntu Font Family"; 17 longDescription = "The Ubuntu typeface has been specially 18 created to complement the Ubuntu tone of voice. It has a 19 contemporary style and contains characteristics unique to 20 the Ubuntu brand that convey a precise, reliable and free attitude."; 21 homepage = "http://font.ubuntu.com/"; 22 + license = lib.licenses.free; 23 + platforms = lib.platforms.all; 24 + maintainers = [ lib.maintainers.antono ]; 25 }; 26 }