Files

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

34 lines
1.0 KiB
Nix
Raw Permalink Normal View History

2025-10-09 14:15:47 +02:00
{
lib,
stdenvNoCC,
fetchzip,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "explex";
version = "0.0.3";
src = fetchzip {
url = "https://github.com/yuru7/Explex/releases/download/v${finalAttrs.version}/Explex_v${finalAttrs.version}.zip";
hash = "sha256-OUmzF8GrwVgFAMSEiZLvh85nsOw1a0a7B70u2cRXXO8=";
};
installPhase = ''
runHook preInstall
install -Dm444 Explex/*.ttf -t $out/share/fonts/truetype/explex
install -Dm444 Explex35/*.ttf -t $out/share/fonts/truetype/explex-35
install -Dm444 ExplexConsole/*.ttf -t $out/share/fonts/truetype/explex-console
install -Dm444 Explex35Console/*.ttf -t $out/share/fonts/truetype/explex-35console
runHook postInstall
'';
meta = {
description = "Composite font of 0xProto and IBM Plex Sans JP";
homepage = "https://github.com/yuru7/Explex";
changelog = "https://github.com/yuru7/Explex/releases/tag/v${finalAttrs.version}";
license = lib.licenses.ofl;
platforms = lib.platforms.all;
maintainers = [ lib.maintainers.r-aizawa ];
};
})