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 }: { lib, fetchzip }:
let let
version = "1.052"; version = "1.054";
in in
fetchzip { fetchzip {
name = "recursive-${version}"; 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 = '' postFetch = ''
mkdir -p $out/share/fonts/ mkdir -p $out/share/fonts/
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype unzip -j $downloadedFile \*.otf -x __MACOSX/\* -d $out/share/fonts/opentype
unzip -j $downloadedFile \*.woff2 -d $out/share/fonts/woff2 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; { meta = with lib; {
homepage = "https://recursive.design/"; homepage = "https://recursive.design/";