mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-10 03:23:29 +03:00
moralerspace: init at 1.1.0
This commit is contained in:
parent
40bbd31b63
commit
7327b47e93
1 changed files with 58 additions and 0 deletions
58
pkgs/by-name/mo/moralerspace/package.nix
Normal file
58
pkgs/by-name/mo/moralerspace/package.nix
Normal file
|
@ -0,0 +1,58 @@
|
||||||
|
{
|
||||||
|
lib,
|
||||||
|
stdenvNoCC,
|
||||||
|
fetchzip,
|
||||||
|
_experimental-update-script-combinators,
|
||||||
|
nix-update-script,
|
||||||
|
}:
|
||||||
|
|
||||||
|
stdenvNoCC.mkDerivation (finalAttrs: {
|
||||||
|
pname = "moralerspace";
|
||||||
|
version = "1.1.0";
|
||||||
|
|
||||||
|
src = fetchzip {
|
||||||
|
url = "https://github.com/yuru7/moralerspace/releases/download/v${finalAttrs.version}/Moralerspace_v${finalAttrs.version}.zip";
|
||||||
|
hash = "sha256-sItgkidfmOPKtMx8+eaVFn8hK9cRxYShIsNXTh5dJfk=";
|
||||||
|
};
|
||||||
|
|
||||||
|
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-hwnf";
|
||||||
|
extraArgs = [ "--version=skip" ];
|
||||||
|
})
|
||||||
|
(nix-update-script {
|
||||||
|
attrPath = "moralerspace-jpdoc";
|
||||||
|
extraArgs = [ "--version=skip" ];
|
||||||
|
})
|
||||||
|
(nix-update-script {
|
||||||
|
attrPath = "moralerspace-nf";
|
||||||
|
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;
|
||||||
|
};
|
||||||
|
})
|
Loading…
Add table
Add a link
Reference in a new issue