🎉 Initial Commit

This commit is contained in:
Takamatsu Naoki
2024-03-03 04:16:20 +09:00
commit f6a6fca3e2
13 changed files with 252 additions and 0 deletions
+24
View File
@@ -0,0 +1,24 @@
{ pkgs, stdenv, fetchurl} :
stdenv.mkDerivation {
pname = "huifont";
version = "1.0.0";
src = fetchurl {
url = "https://ftp.vector.co.jp/43/55/114/HuiFont29.lzh";
hash = "sha256-sriv+eshDK8wRXrwwA7kVtJ9QHN4Yng1Nwexrdi86AQ";
};
nativeBuildInputs = with pkgs; [ p7zip ];
dontUnpack = true;
installPhase = ''
runHook preInstall
7z x $src
cd HuiFont29
install -Dm644 *.ttf -t $out/share/fonts/truetype
runHook postInstall
'';
}