Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
51 lines
1.3 KiB
Nix
51 lines
1.3 KiB
Nix
{
|
|
lib,
|
|
stdenvNoCC,
|
|
fetchzip,
|
|
_experimental-update-script-combinators,
|
|
nix-update-script,
|
|
}:
|
|
|
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
|
pname = "moralerspace";
|
|
version = "2.0.0";
|
|
|
|
src = fetchzip {
|
|
url = "https://github.com/yuru7/moralerspace/releases/download/v${finalAttrs.version}/Moralerspace_v${finalAttrs.version}.zip";
|
|
hash = "sha256-RWpJt59Yvt/nhu6xeyR3eJKRaw+477ZXAPztt7Clt7Q=";
|
|
};
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
install -Dm644 *.ttf -t $out/share/fonts/moralerspace
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
passthru.updateScript = _experimental-update-script-combinators.sequence [
|
|
(nix-update-script { })
|
|
(nix-update-script {
|
|
attrPath = "moralerspace-hw";
|
|
extraArgs = [ "--version=skip" ];
|
|
})
|
|
(nix-update-script {
|
|
attrPath = "moralerspace-hwjpdoc";
|
|
extraArgs = [ "--version=skip" ];
|
|
})
|
|
(nix-update-script {
|
|
attrPath = "moralerspace-jpdoc";
|
|
extraArgs = [ "--version=skip" ];
|
|
})
|
|
];
|
|
|
|
meta = {
|
|
description = "Composite font of Monaspace and IBM Plex Sans JP";
|
|
homepage = "https://github.com/yuru7/moralerspace";
|
|
changelog = "https://github.com/yuru7/moralerspace/releases/tag/v${finalAttrs.version}";
|
|
license = lib.licenses.ofl;
|
|
maintainers = with lib.maintainers; [ natsukium ];
|
|
platforms = lib.platforms.all;
|
|
};
|
|
})
|