about summary refs log tree commit diff
path: root/pkgs/data
diff options
context:
space:
mode:
authorThomas Tuegel <ttuegel@mailbox.org>2019-09-08 09:22:11 -0500
committerGitHub <noreply@github.com>2019-09-08 09:22:11 -0500
commit26b095829fddd673ab2c8d14c04dfb4c5b3a1125 (patch)
tree787420136777df2030ed5dbf3ab012f5666292a4 /pkgs/data
parenta054efda773a5985e4cc20c1a6bfecc05927d9d2 (diff)
parentd4da04c528e07d3882d7fd897ff1b1943ae1b54d (diff)
downloadnixlib-26b095829fddd673ab2c8d14c04dfb4c5b3a1125.tar
nixlib-26b095829fddd673ab2c8d14c04dfb4c5b3a1125.tar.gz
nixlib-26b095829fddd673ab2c8d14c04dfb4c5b3a1125.tar.bz2
nixlib-26b095829fddd673ab2c8d14c04dfb4c5b3a1125.tar.lz
nixlib-26b095829fddd673ab2c8d14c04dfb4c5b3a1125.tar.xz
nixlib-26b095829fddd673ab2c8d14c04dfb4c5b3a1125.tar.zst
nixlib-26b095829fddd673ab2c8d14c04dfb4c5b3a1125.zip
Merge pull request #68229 from dywedir/source-serif-pro
source-serif-pro: 2.010 -> 3.000
Diffstat (limited to 'pkgs/data')
-rw-r--r--pkgs/data/fonts/source-serif-pro/default.nix12
1 files changed, 6 insertions, 6 deletions
diff --git a/pkgs/data/fonts/source-serif-pro/default.nix b/pkgs/data/fonts/source-serif-pro/default.nix
index 87484a99b110..eb776a3df26f 100644
--- a/pkgs/data/fonts/source-serif-pro/default.nix
+++ b/pkgs/data/fonts/source-serif-pro/default.nix
@@ -1,20 +1,20 @@
 { lib, fetchzip }:
 
 let
-  version = "2.010";
+  version = "3.000";
 in fetchzip {
   name = "source-serif-pro-${version}";
 
-  url = "https://github.com/adobe-fonts/source-serif-pro/releases/download/${version}R-ro%2F1.010R-it/source-serif-pro-${version}R-ro-1.010R-it.zip";
+  url = "https://github.com/adobe-fonts/source-serif-pro/releases/download/${version}R/source-serif-pro-${version}R.zip";
 
   postFetch = ''
     mkdir -p $out/share/fonts/{opentype,truetype,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
+    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 = "1a3lmqk7hyxpfkb30s9z73lhs823dmq6xr5llp9w23g6bh332x2h";
+  sha256 = "06yp8y79mqk02qzp81h8zkmzqqlhicgrkwmzkd0bm338xh8grsiz";
 
   meta = with lib; {
     homepage = https://adobe-fonts.github.io/source-serif-pro/;