recursive: 1.084 -> 1.085

This commit also updates postFetch due to the change of interface of fetchzip
This commit is contained in:
Vonfry 2023-01-15 14:49:36 +08:00
parent e8e9febf8b
commit d5ca8029a5
No known key found for this signature in database
GPG key ID: E47DA4B266B726FA

View file

@ -1,20 +1,19 @@
{ lib, fetchzip }: { lib, fetchzip, stdenvNoCC }:
let stdenvNoCC.mkDerivation rec {
version = "1.084"; pname = "recursive";
in version = "1.085";
fetchzip {
name = "recursive-${version}";
url = "https://github.com/arrowtype/recursive/releases/download/v${version}/ArrowType-Recursive-${version}.zip"; src = fetchzip {
url = "https://github.com/arrowtype/recursive/releases/download/v${version}/ArrowType-Recursive-${version}.zip";
sha256 = "sha256-hnGnKnRoQN8vFStW8TjLrrTL1dWsthUEWxfaGF0b0vM=";
};
postFetch = '' installPhase = ''
mkdir -p $out/share/fonts/ install -D -t $out/share/fonts/opentype/ $(find $src -type f -name '*.otf')
unzip -j $downloadedFile \*.otf -d $out/share/fonts/opentype install -D -t $out/share/fonts/truetype/ $(find $src -type f -name '*.ttf')
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
''; '';
sha256 = "sha256-YL09RVU9pgP0/aGRKECHzd5t1VmNDPtOFcRygWqIisg=";
meta = with lib; { meta = with lib; {
homepage = "https://recursive.design/"; homepage = "https://recursive.design/";