source-sans-pro: 2.040 -> 2.045

https://github.com/adobe-fonts/source-sans-pro/releases/tag/2.045R-ro%2F1.095R-it
This commit is contained in:
Will Dietz 2019-01-13 17:00:20 -06:00
parent 5285526b0f
commit 0e260cae11

View File

@ -1,18 +1,18 @@
{ stdenv, fetchzip }:
fetchzip {
name = "source-sans-pro-2.040";
name = "source-sans-pro-2.045";
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";
url = https://github.com/adobe-fonts/source-sans-pro/releases/download/2.045R-ro%2F1.095R-it/source-sans-pro-2.045R-ro-1.095R-it.zip;
postFetch = ''
mkdir -p $out/share/fonts/opentype $out/share/fonts/truetype $out/share/fonts/variable
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
'';
sha256 = "1n7z9xpxls74xxjsa61df1ln86y063m07w1f4sbxpjaa0frim4pp";
sha256 = "0xjdp226ybdcfylbpfsdgnz2bf4pj4qv1wfs6fv22hjxlzqfixf3";
meta = with stdenv.lib; {
homepage = https://sourceforge.net/adobe/sourcesans;