Merge pull request #68830 from dywedir/source-sans-pro
source-sans-pro: 2.045 -> 3.006
This commit is contained in:
commit
3d8e8cb2ba
@ -1,9 +1,11 @@
|
||||
{ lib, fetchzip }:
|
||||
|
||||
fetchzip {
|
||||
name = "source-sans-pro-2.045";
|
||||
let
|
||||
version = "3.006";
|
||||
in fetchzip {
|
||||
name = "source-sans-pro-${version}";
|
||||
|
||||
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;
|
||||
url = "https://github.com/adobe-fonts/source-sans-pro/releases/download/${version}R/source-sans-pro-${version}R.zip";
|
||||
|
||||
postFetch = ''
|
||||
mkdir -p $out/share/fonts/{opentype,truetype,variable}
|
||||
@ -12,7 +14,7 @@ fetchzip {
|
||||
unzip -j $downloadedFile "*/VAR/*.otf" -d $out/share/fonts/variable
|
||||
'';
|
||||
|
||||
sha256 = "0xjdp226ybdcfylbpfsdgnz2bf4pj4qv1wfs6fv22hjxlzqfixf3";
|
||||
sha256 = "11jd50cqiq2s0z39rclg73iiw2j5yzgs1glfs9psw5wbbisgysmr";
|
||||
|
||||
meta = with lib; {
|
||||
homepage = https://adobe-fonts.github.io/source-sans-pro/;
|
||||
|
Loading…
Reference in New Issue
Block a user