mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
geist-font: 1.1.0 -> 1.4.01
This commit is contained in:
parent
e008b6dcda
commit
3bbaf4b0b8
1 changed files with 8 additions and 8 deletions
|
@ -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 ];
|
||||
};
|
||||
}
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue