Merge pull request #81419 from marsam/update-recursive
recursive: 1.030 -> 1.042
This commit is contained in:
commit
ec97c20fff
@ -1,24 +1,23 @@
|
|||||||
{ stdenv, fetchzip }:
|
{ lib, fetchzip }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
let
|
||||||
pname = "recursive";
|
version = "1.042";
|
||||||
version = "1.030";
|
in
|
||||||
|
fetchzip {
|
||||||
|
name = "recursive-${version}";
|
||||||
|
|
||||||
src = fetchzip {
|
url = "https://github.com/arrowtype/recursive/releases/download/${version}/Recursive-Beta_${version}.zip";
|
||||||
url = "https://github.com/arrowtype/recursive/releases/download/${version}/recursive-beta_1_030--statics.zip";
|
|
||||||
sha256 = "1clds4ljiqdf0zc3b7nlna1w7kc23pc9gxdd5vwbgmz9xfvkam0f";
|
|
||||||
stripRoot = false;
|
|
||||||
};
|
|
||||||
|
|
||||||
installPhase = ''
|
postFetch = ''
|
||||||
mkdir -p $out/share/fonts/{opentype,truetype,woff2}
|
mkdir -p $out/share/fonts/
|
||||||
find -name "*.otf" -exec cp "{}" $out/share/fonts/opentype \;
|
unzip -j $downloadedFile \*.ttf -d $out/share/fonts/truetype
|
||||||
find -name "*.ttf" -exec cp "{}" $out/share/fonts/truetype \;
|
unzip -j $downloadedFile \*.woff2 -d $out/share/fonts/woff2
|
||||||
find -name "*.woff2" -exec cp "{}" $out/share/fonts/woff2 \;
|
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
sha256 = "1zcrvnzwd39fim2jxa3by6jgdrx7fdp64iw2bd181iwzinv1yqsa";
|
||||||
homepage = https://github.com/arrowtype/recursive;
|
|
||||||
|
meta = with lib; {
|
||||||
|
homepage = "https://recursive.design/";
|
||||||
description = "A variable font family for code & UI";
|
description = "A variable font family for code & UI";
|
||||||
license = licenses.ofl;
|
license = licenses.ofl;
|
||||||
maintainers = [ maintainers.eadwu ];
|
maintainers = [ maintainers.eadwu ];
|
||||||
|
Loading…
x
Reference in New Issue
Block a user