2017-08-10 21:43:49 +02:00
|
|
|
{ stdenv, fetchzip }:
|
2014-05-26 21:55:32 +02:00
|
|
|
|
2017-08-10 21:43:49 +02:00
|
|
|
fetchzip {
|
2019-01-14 00:00:20 +01:00
|
|
|
name = "source-sans-pro-2.045";
|
2014-05-26 21:55:32 +02:00
|
|
|
|
2019-01-14 00:00:20 +01:00
|
|
|
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;
|
2014-05-26 21:55:32 +02:00
|
|
|
|
2017-08-10 21:43:49 +02:00
|
|
|
postFetch = ''
|
2019-01-14 00:00:20 +01:00
|
|
|
mkdir -p $out/share/fonts/{opentype,truetype,variable}
|
2018-12-21 23:37:43 +01:00
|
|
|
unzip -j $downloadedFile "*/OTF/*.otf" -d $out/share/fonts/opentype
|
|
|
|
unzip -j $downloadedFile "*/TTF/*.ttf" -d $out/share/fonts/truetype
|
|
|
|
unzip -j $downloadedFile "*/VAR/*.otf" -d $out/share/fonts/variable
|
2014-05-26 21:55:32 +02:00
|
|
|
'';
|
|
|
|
|
2019-01-14 00:00:20 +01:00
|
|
|
sha256 = "0xjdp226ybdcfylbpfsdgnz2bf4pj4qv1wfs6fv22hjxlzqfixf3";
|
2017-08-10 21:43:49 +02:00
|
|
|
|
2014-05-26 21:55:32 +02:00
|
|
|
meta = with stdenv.lib; {
|
2019-01-29 04:32:31 +01:00
|
|
|
homepage = https://adobe-fonts.github.io/source-sans-pro/;
|
2014-05-26 21:55:32 +02:00
|
|
|
description = "A set of OpenType fonts designed by Adobe for UIs";
|
|
|
|
license = licenses.ofl;
|
|
|
|
platforms = platforms.all;
|
|
|
|
maintainers = with maintainers; [ ttuegel ];
|
|
|
|
};
|
|
|
|
}
|