explex: init at 0.0.3
This commit is contained in:
@@ -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 ];
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user