mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-09 19:13:26 +03:00
moralerspace-hwjpdoc: init at 1.1.0
This commit is contained in:
parent
2d5c9fa7ff
commit
de2e4df834
1 changed files with 28 additions and 0 deletions
28
pkgs/by-name/mo/moralerspace-hwjpdoc/package.nix
Normal file
28
pkgs/by-name/mo/moralerspace-hwjpdoc/package.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{
|
||||
lib,
|
||||
stdenvNoCC,
|
||||
fetchzip,
|
||||
moralerspace,
|
||||
}:
|
||||
|
||||
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||
pname = "moralerspace-hwjpdoc";
|
||||
inherit (moralerspace) version meta;
|
||||
|
||||
src = fetchzip {
|
||||
url = "https://github.com/yuru7/moralerspace/releases/download/v${finalAttrs.version}/MoralerspaceHWJPDOC_v${finalAttrs.version}.zip";
|
||||
hash = "sha256-rYDx3MMjxnmp/o6nRc5/bIEkwvMP9gmwm6R//3KwoLk=";
|
||||
};
|
||||
|
||||
installPhase = ''
|
||||
runHook preInstall
|
||||
|
||||
install -Dm644 *.ttf -t $out/share/fonts/moralerspace-hwjpdoc
|
||||
|
||||
runHook postInstall
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
inherit (moralerspace) updateScript;
|
||||
};
|
||||
})
|
Loading…
Add table
Add a link
Reference in a new issue