moralerspace-jpdoc: init at 1.1.0
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
{
|
||||
lib,
|
||||
stdenvNoCC,
|
||||
fetchzip,
|
||||
moralerspace,
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "moralerspace-jpdoc";
|
||||
inherit (moralerspace) version meta;
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/yuru7/moralerspace/releases/download/v${finalAttrs.version}/MoralerspaceJPDOC_v${finalAttrs.version}.zip";
|
||||
hash = "sha256-oeTRnDSp9sbicMmaybX7xue1u7dSpAqUv8XTOUrzEjE=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm644 *.ttf -t $out/share/fonts/moralerspace-jpdoc
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
inherit (moralerspace) updateScript;
|
||||
};
|
||||
})
|
||||
Reference in New Issue
Block a user