moralerspace-nf: init at 1.1.0

This commit is contained in:
natsukium 2025-01-25 01:07:10 +09:00
parent 4f28426f5e
commit 3ce3d3c862
No known key found for this signature in database
GPG key ID: 9EA45A31DB994C53

View file

@ -0,0 +1,28 @@
{
lib,
stdenvNoCC,
fetchzip,
moralerspace,
}:
stdenvNoCC.mkDerivation (finalAttrs: {
pname = "moralerspace-nf";
inherit (moralerspace) version meta;
src = fetchzip {
url = "https://github.com/yuru7/moralerspace/releases/download/v${finalAttrs.version}/MoralerspaceNF_v${finalAttrs.version}.zip";
hash = "sha256-zpJ6I/4WMiVfDbowcvw1JAup0RdvylJCzQbwa5qWM44=";
};
installPhase = ''
runHook preInstall
install -Dm644 *.ttf -t $out/share/fonts/moralerspace-nf
runHook postInstall
'';
passthru = {
inherit (moralerspace) updateScript;
};
})