3
0
Fork 0
forked from mirrors/nixpkgs

source-sans-pro: 2.045 -> 3.006

This commit is contained in:
Vladyslav M 2019-09-15 10:48:37 +03:00
parent f18a6d5d8f
commit 07753d8cf1
No known key found for this signature in database
GPG key ID: 3B1AD98E3D65BD4D

View file

@ -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/;