forked from mirrors/nixpkgs
source-sans-pro: 2.045 -> 3.006
This commit is contained in:
parent
f18a6d5d8f
commit
07753d8cf1
|
@ -1,9 +1,11 @@
|
||||||
{ lib, fetchzip }:
|
{ lib, fetchzip }:
|
||||||
|
|
||||||
fetchzip {
|
let
|
||||||
name = "source-sans-pro-2.045";
|
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 = ''
|
postFetch = ''
|
||||||
mkdir -p $out/share/fonts/{opentype,truetype,variable}
|
mkdir -p $out/share/fonts/{opentype,truetype,variable}
|
||||||
|
@ -12,7 +14,7 @@ fetchzip {
|
||||||
unzip -j $downloadedFile "*/VAR/*.otf" -d $out/share/fonts/variable
|
unzip -j $downloadedFile "*/VAR/*.otf" -d $out/share/fonts/variable
|
||||||
'';
|
'';
|
||||||
|
|
||||||
sha256 = "0xjdp226ybdcfylbpfsdgnz2bf4pj4qv1wfs6fv22hjxlzqfixf3";
|
sha256 = "11jd50cqiq2s0z39rclg73iiw2j5yzgs1glfs9psw5wbbisgysmr";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
homepage = https://adobe-fonts.github.io/source-sans-pro/;
|
homepage = https://adobe-fonts.github.io/source-sans-pro/;
|
||||||
|
|
Loading…
Reference in a new issue