source-serif-pro: 2.010 -> 3.000
This commit is contained in:
parent
d42ed9b401
commit
d4da04c528
@ -1,20 +1,20 @@
|
|||||||
{ lib, fetchzip }:
|
{ lib, fetchzip }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "2.010";
|
version = "3.000";
|
||||||
in fetchzip {
|
in fetchzip {
|
||||||
name = "source-serif-pro-${version}";
|
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 = ''
|
postFetch = ''
|
||||||
mkdir -p $out/share/fonts/{opentype,truetype,variable}
|
mkdir -p $out/share/fonts/{opentype,truetype,variable}
|
||||||
unzip -j $downloadedFile "*/OTF/*.otf" -d $out/share/fonts/opentype
|
unzip -j $downloadedFile "OTF/*.otf" -d $out/share/fonts/opentype
|
||||||
unzip -j $downloadedFile "*/TTF/*.ttf" -d $out/share/fonts/truetype
|
unzip -j $downloadedFile "TTF/*.ttf" -d $out/share/fonts/truetype
|
||||||
unzip -j $downloadedFile "*/VAR/*.otf" -d $out/share/fonts/variable
|
unzip -j $downloadedFile "VAR/*.otf" -d $out/share/fonts/variable
|
||||||
'';
|
'';
|
||||||
|
|
||||||
sha256 = "1a3lmqk7hyxpfkb30s9z73lhs823dmq6xr5llp9w23g6bh332x2h";
|
sha256 = "06yp8y79mqk02qzp81h8zkmzqqlhicgrkwmzkd0bm338xh8grsiz";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = https://adobe-fonts.github.io/source-serif-pro/;
|
homepage = https://adobe-fonts.github.io/source-serif-pro/;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user