Skip to content

Commit

Permalink
mitimasu: init at 0-unstable-2023-10-24 (#357618)
Browse files Browse the repository at this point in the history
  • Loading branch information
wegank authored Nov 27, 2024
2 parents 1b02ba5 + 4b05e36 commit 7535f25
Showing 1 changed file with 35 additions and 0 deletions.
35 changes: 35 additions & 0 deletions pkgs/by-name/mi/mitimasu/package.nix
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
{
lib,
stdenvNoCC,
fetchFromGitHub,
}:
stdenvNoCC.mkDerivation {
pname = "mitimasu";
version = "0-unstable-2023-10-24";

src = fetchFromGitHub {
owner = "kemomimi-no-sato";
repo = "mitimasu-webfont";
rev = "6798f7a192d5c60adf75a3d32184057b8579e3c5";
hash = "sha256-yiAnIVZY9DoIborO/s2KSlt6Zq1kAjKewLd30qBQqio=";
};

installPhase = ''
runHook preInstall
install -m444 -Dt $out/share/fonts/truetype fonts/mitimasu.ttf
install -m444 -Dt $out/share/fonts/eot fonts/mitimasu.eot
install -m444 -Dt $out/share/fonts/woff fonts/mitimasu.woff
install -m444 -Dt $out/share/fonts/woff2 fonts/mitimasu.woff2
runHook postInstall
'';

meta = {
description = "Mitimasu webfont";
homepage = "https://github.com/kemomimi-no-sato/mitimasu-webfont";
license = lib.licenses.mit;
platforms = lib.platforms.all;
maintainers = with lib.maintainers; [ istudyatuni ];
};
}

0 comments on commit 7535f25

Please sign in to comment.