geist-font: 1.1.0 -> 1.4.01 (#390337)

This commit is contained in:
Arne Keller
2025-03-16 22:31:05 +01:00
committed by GitHub
+8 -8
View File
@@ -4,22 +4,22 @@
fetchzip,
}:
stdenvNoCC.mkDerivation rec {
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "geist-font";
version = "1.1.0";
version = "1.4.01";
srcs = [
(fetchzip {
name = "geist-mono";
url = "https://github.com/vercel/geist-font/releases/download/${version}/Geist.Mono.zip";
url = "https://github.com/vercel/geist-font/releases/download/${finalAttrs.version}/GeistMono-${finalAttrs.version}.zip";
stripRoot = false;
hash = "sha256-8I4O2+bJAlUiDIhbyXzAcwXP5qpmHoh4IfrFio7IZN8=";
hash = "sha256-NVPSG2Flm78X5+KXUqlTiGrquD/FGuI1C3PFcIqdyl8=";
})
(fetchzip {
name = "geist-sans";
url = "https://github.com/vercel/geist-font/releases/download/${version}/Geist.zip";
url = "https://github.com/vercel/geist-font/releases/download/${finalAttrs.version}/Geist-v${finalAttrs.version}.zip";
stripRoot = false;
hash = "sha256-nSN+Ql5hTd230w/u6VZyAZaPtFSaHGmMc6T1fgGTCME=";
hash = "sha256-r3Ix+UhxL/UosCLsWl52N55D+rGonQK9TIRfu4hGiwE=";
})
];
@@ -28,7 +28,7 @@ stdenvNoCC.mkDerivation rec {
installPhase = ''
runHook preInstall
install -Dm444 geist-{mono,sans}/*/*.otf -t $out/share/fonts/opentype
install -D geist-{mono,sans}/*/otf/*.otf -t $out/share/fonts/opentype
runHook postInstall
'';
@@ -41,4 +41,4 @@ stdenvNoCC.mkDerivation rec {
platforms = lib.platforms.all;
sourceProvenance = with lib.sourceTypes; [ binaryBytecode ];
};
}
})