moralerspace-hwnf: init at 1.1.0

This commit is contained in:
natsukium 2025-01-25 01:05:38 +09:00
parent de2e4df834
commit b91152caf2
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-hwnf";
inherit (moralerspace) version meta;
src = fetchzip {
url = "https://github.com/yuru7/moralerspace/releases/download/v${finalAttrs.version}/MoralerspaceHWNF_v${finalAttrs.version}.zip";
hash = "sha256-XRdDcfgwbP5g26xh9rlHRp9i//k5PdRhMExMy3ibN/4=";
};
installPhase = ''
runHook preInstall
install -Dm644 *.ttf -t $out/share/fonts/moralerspace-hwnf
runHook postInstall
'';
passthru = {
inherit (moralerspace) updateScript;
};
})