about summary refs log tree commit diff
path: root/pkgs/data/fonts/ubuntu-font-family/default.nix
diff options
context:
space:
mode:
authorvolth <volth@volth.com>2019-05-13 01:55:32 +0000
committervolth <volth@volth.com>2019-05-13 06:03:31 +0000
commitc9eb44eab323aa43913b85af9a9a7f9e01f5e882 (patch)
treea36baf5677abb7e70cf56b483fe97ee6999fde91 /pkgs/data/fonts/ubuntu-font-family/default.nix
parent1df1834dd1e47f9a1452fc271d7e0b4ba296e04d (diff)
data/fonts: cleanup
 * 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
Diffstat (limited to 'pkgs/data/fonts/ubuntu-font-family/default.nix')
-rw-r--r--pkgs/data/fonts/ubuntu-font-family/default.nix10
1 files changed, 5 insertions, 5 deletions
diff --git a/pkgs/data/fonts/ubuntu-font-family/default.nix b/pkgs/data/fonts/ubuntu-font-family/default.nix
index e78f86fede442..5f072f90f0555 100644
--- a/pkgs/data/fonts/ubuntu-font-family/default.nix
+++ b/pkgs/data/fonts/ubuntu-font-family/default.nix
@@ -1,9 +1,9 @@
-{ stdenv, fetchzip }:
+{ lib, fetchzip }:
 
 fetchzip rec {
   name = "ubuntu-font-family-0.83";
 
-  url = "http://font.ubuntu.com/download/${name}.zip";
+  url = "https://assets.ubuntu.com/v1/fad7939b-ubuntu-font-family-0.83.zip";
 
   postFetch = ''
     mkdir -p $out/share/fonts
@@ -19,8 +19,8 @@ fetchzip rec {
     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 ];
+    license = lib.licenses.free;
+    platforms = lib.platforms.all;
+    maintainers = [ lib.maintainers.antono ];
   };
 }