explex, explex-nf: init at 0.0.3 (#416376)

This commit is contained in:
OTABI Tomoya
2025-06-15 20:27:18 +09:00
committed by GitHub
3 changed files with 70 additions and 0 deletions

View File

@@ -20625,6 +20625,12 @@
matrix = "@qyriad:katesiria.org";
name = "Qyriad";
};
r-aizawa = {
github = "Xantibody";
githubId = 109563705;
name = "Ryu Aizawa";
email = "zeku.bushinryu38@gmail.com";
};
r-burns = {
email = "rtburns@protonmail.com";
github = "r-burns";

View File

@@ -0,0 +1,31 @@
{
lib,
stdenvNoCC,
fetchzip,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "explex-nf";
version = "0.0.3";
src = fetchzip {
url = "https://github.com/yuru7/Explex/releases/download/v${finalAttrs.version}/Explex_NF_v${finalAttrs.version}.zip";
hash = "sha256-X4CnYT5B7IyG1Z5Ex6CXCfX7Hz3vNb5bP+vq1Vjx8XI=";
};
installPhase = ''
runHook preInstall
install -Dm444 ExplexConsole_NF/*.ttf -t $out/share/fonts/truetype/explex-nf-console
install -Dm444 Explex35Console_NF/*.ttf -t $out/share/fonts/truetype/explex-nf-35console
runHook postInstall
'';
meta = {
description = "Composite font of 0xProto, IBM Plex Sans JP and nerd-fonts";
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 ];
};
})

View File

@@ -0,0 +1,33 @@
{
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 ];
};
})