Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
34 lines
1.0 KiB
Nix
34 lines
1.0 KiB
Nix
{
|
|
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 ];
|
|
};
|
|
})
|