summary refs log tree commit diff
path: root/pkgs/data/fonts/source-sans-pro
diff options
context:
space:
mode:
authorMichiel Leenaars <ml.software@leenaa.rs>2018-12-21 23:37:43 +0100
committerMichiel Leenaars <ml.software@leenaa.rs>2018-12-21 23:37:43 +0100
commitf3b3b66cc4e45b24ac65f55d998cb3e1446dbe11 (patch)
treeddb5acd7d82192ec2303ac3482cea2197d89bc0f /pkgs/data/fonts/source-sans-pro
parentc0611717dcab06f6ebf4732d5fe1af53d71ee7a2 (diff)
downloadnixpkgs-f3b3b66cc4e45b24ac65f55d998cb3e1446dbe11.tar
nixpkgs-f3b3b66cc4e45b24ac65f55d998cb3e1446dbe11.tar.gz
nixpkgs-f3b3b66cc4e45b24ac65f55d998cb3e1446dbe11.tar.bz2
nixpkgs-f3b3b66cc4e45b24ac65f55d998cb3e1446dbe11.tar.lz
nixpkgs-f3b3b66cc4e45b24ac65f55d998cb3e1446dbe11.tar.xz
nixpkgs-f3b3b66cc4e45b24ac65f55d998cb3e1446dbe11.tar.zst
nixpkgs-f3b3b66cc4e45b24ac65f55d998cb3e1446dbe11.zip
source-sans-pro: 2.010 -> 2.040
Diffstat (limited to 'pkgs/data/fonts/source-sans-pro')
-rw-r--r--pkgs/data/fonts/source-sans-pro/default.nix12
1 files changed, 7 insertions, 5 deletions
diff --git a/pkgs/data/fonts/source-sans-pro/default.nix b/pkgs/data/fonts/source-sans-pro/default.nix
index fccb231f4ca..1561605b6ad 100644
--- a/pkgs/data/fonts/source-sans-pro/default.nix
+++ b/pkgs/data/fonts/source-sans-pro/default.nix
@@ -1,16 +1,18 @@
 { stdenv, fetchzip }:
 
 fetchzip {
-  name = "source-sans-pro-2.010";
+  name = "source-sans-pro-2.040";
 
-  url = "https://github.com/adobe-fonts/source-sans-pro/archive/2.010R-ro/1.065R-it.zip";
+  url = "https://github.com/adobe-fonts/source-sans-pro/releases/download/2.040R-ro%2F1.090R-it/source-sans-pro-2.040R-ro-1.090R-it.zip";
 
   postFetch = ''
-    mkdir -p $out/share/fonts/opentype
-    unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype
+    mkdir -p $out/share/fonts/opentype $out/share/fonts/truetype $out/share/fonts/variable
+    unzip -j $downloadedFile "*/OTF/*.otf" -d $out/share/fonts/opentype
+    unzip -j $downloadedFile "*/TTF/*.ttf" -d $out/share/fonts/truetype
+    unzip -j $downloadedFile "*/VAR/*.otf" -d $out/share/fonts/variable
   '';
 
-  sha256 = "17rgkh54arybmcdg750ynw32x2sps7p9vrvq9kpih8vdghwrh9k2";
+  sha256 = "1n7z9xpxls74xxjsa61df1ln86y063m07w1f4sbxpjaa0frim4pp";
 
   meta = with stdenv.lib; {
     homepage = https://sourceforge.net/adobe/sourcesans;