Mario Rodas 2020-08-03 04:20:00 -05:00
parent 2d6c2690f6
commit 1b99e2fd27
No known key found for this signature in database
GPG key ID: 325649BCA6D53027

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/";