source-sans-pro: 3.006 -> 3.046

This commit is contained in:
Mario Rodas 2021-10-20 04:20:00 +00:00
parent 0c21683467
commit d76a91b1ba
3 changed files with 8 additions and 7 deletions

View file

@ -1,11 +1,11 @@
{ lib, fetchzip }:
let
version = "3.006";
version = "3.046";
in fetchzip {
name = "source-sans-pro-${version}";
name = "source-sans-${version}";
url = "https://github.com/adobe-fonts/source-sans-pro/releases/download/${version}R/source-sans-pro-${version}R.zip";
url = "https://github.com/adobe-fonts/source-sans/archive/${version}R.zip";
postFetch = ''
mkdir -p $out/share/fonts/{opentype,truetype,variable}
@ -14,11 +14,11 @@ in fetchzip {
unzip -j $downloadedFile "*/VAR/*.otf" -d $out/share/fonts/variable
'';
sha256 = "11jd50cqiq2s0z39rclg73iiw2j5yzgs1glfs9psw5wbbisgysmr";
sha256 = "1wxdinnliq0xqbjrs0sqykwaggkmyqawfq862d9xn05g1pnxda94";
meta = with lib; {
homepage = "https://adobe-fonts.github.io/source-sans-pro/";
description = "A set of OpenType fonts designed by Adobe for UIs";
homepage = "https://adobe-fonts.github.io/source-sans/";
description = "Sans serif font family for user interface environments";
license = licenses.ofl;
platforms = platforms.all;
maintainers = with maintainers; [ ttuegel ];

View file

@ -885,6 +885,7 @@ mapAliases ({
source-han-serif-korean = source-han-serif;
source-han-serif-simplified-chinese = source-han-serif;
source-han-serif-traditional-chinese = source-han-serif;
source-sans-pro = source-sans; # added 2021-10-20
source-serif-pro = source-serif; # added 2021-10-20
net_snmp = net-snmp; # added 2019-12-21

View file

@ -23353,7 +23353,7 @@ with pkgs;
source-code-pro = callPackage ../data/fonts/source-code-pro {};
source-sans-pro = callPackage ../data/fonts/source-sans-pro { };
source-sans = callPackage ../data/fonts/source-sans { };
source-serif = callPackage ../data/fonts/source-serif { };