git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #68830 from dywedir/source-sans-pro

source-sans-pro: 2.045 -> 3.006

commit3d8e8cb2baf5857402ee08b71a19f542c261b002 authorThomas Tuegel <ttuegel@mailbox.org> dateSun 15 Sep 2019, 09:53 (7 years ago) parent77783bc07753d8
1 file changed+6−4
pkgs/data/fonts/source-sans-pro/default.nix+6−4
pkgs/data/fonts/source-sans-pro/default.nix+6−4
@@ -1,9 +1,11 @@
11{ lib, fetchzip }:
22
3−fetchzip {
4− name = "source-sans-pro-2.045";
3+let
4+ version = "3.006";
5+in fetchzip {
6+ name = "source-sans-pro-${version}";
57
6− 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;
8+ url = "https://github.com/adobe-fonts/source-sans-pro/releases/download/${version}R/source-sans-pro-${version}R.zip";
79
810 postFetch = ''
911 mkdir -p $out/share/fonts/{opentype,truetype,variable}
@@ -12,7 +14,7 @@ fetchzip {
1214 unzip -j $downloadedFile "*/VAR/*.otf" -d $out/share/fonts/variable
1315 '';
1416
15− sha256 = "0xjdp226ybdcfylbpfsdgnz2bf4pj4qv1wfs6fv22hjxlzqfixf3";
17+ sha256 = "11jd50cqiq2s0z39rclg73iiw2j5yzgs1glfs9psw5wbbisgysmr";
1618
1719 meta = with lib; {
1820 homepage = https://adobe-fonts.github.io/source-sans-pro/;