diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2021-10-20 04:20:00 +0000 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2021-10-20 04:20:00 +0000 |
commit | d76a91b1ba07288f25db65144ac89f3032b02d82 (patch) | |
tree | f8f38b7cb2722336a5a8fd1a4f2f8a8199b78e2d /pkgs/data/fonts/source-sans | |
parent | 0c21683467775b1bd5e7a7e3c50c03abbcd3ca46 (diff) |
source-sans-pro: 3.006 -> 3.046
Diffstat (limited to 'pkgs/data/fonts/source-sans')
-rw-r--r-- | pkgs/data/fonts/source-sans/default.nix | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/pkgs/data/fonts/source-sans/default.nix b/pkgs/data/fonts/source-sans/default.nix new file mode 100644 index 0000000000000..c16d0d2b8b4f6 --- /dev/null +++ b/pkgs/data/fonts/source-sans/default.nix @@ -0,0 +1,26 @@ +{ lib, fetchzip }: + +let + version = "3.046"; +in fetchzip { + name = "source-sans-${version}"; + + url = "https://github.com/adobe-fonts/source-sans/archive/${version}R.zip"; + + postFetch = '' + mkdir -p $out/share/fonts/{opentype,truetype,variable} + 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 + ''; + + sha256 = "1wxdinnliq0xqbjrs0sqykwaggkmyqawfq862d9xn05g1pnxda94"; + + meta = with lib; { + 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 ]; + }; +} |