Merge pull request #94639 from marsam/update-recursive

recursive: 1.052 -> 1.053
This commit is contained in:
Daniël de Kok 2020-08-05 08:32:30 +02:00 committed by GitHub
commit 7b0fd2105c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,20 +1,21 @@
{ lib, fetchzip }:
let
version = "1.052";
version = "1.054";
in
fetchzip {
name = "recursive-${version}";
url = "https://github.com/arrowtype/recursive/releases/download/${version}/Recursive-Beta_${version}.zip";
url = "https://github.com/arrowtype/recursive/releases/download/${version}/ArrowType-Recursive-${version}.zip";
postFetch = ''
mkdir -p $out/share/fonts/
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
unzip -j $downloadedFile \*.woff2 -d $out/share/fonts/woff2
unzip -j $downloadedFile \*.otf -x __MACOSX/\* -d $out/share/fonts/opentype
unzip -j $downloadedFile \*.ttf -x __MACOSX/\* -d $out/share/fonts/truetype
unzip -j $downloadedFile \*.woff2 -x __MACOSX/\* -d $out/share/fonts/woff2
'';
sha256 = "1kam7wcn0rg89gw52pn174sz0r9lc2kjdz88l0jg20gwa3bjbpc6";
sha256 = "12ld0w7x5lyvymrnqzfj74a3m6knv7i1795bvnpyljmxxkacscnl";
meta = with lib; {
homepage = "https://recursive.design/";