mirror of
https://github.com/EdenQwQ/nixos.git
synced 2026-02-22 21:05:50 +08:00
30 lines
588 B
Nix
30 lines
588 B
Nix
{
|
|
lib,
|
|
stdenvNoCC,
|
|
pkgs,
|
|
}:
|
|
stdenvNoCC.mkDerivation {
|
|
pname = "hugmetight-font";
|
|
version = "2025-03-01";
|
|
|
|
src = pkgs.fetchzip {
|
|
url = "https://mistifonts.com/fonts/hug-me-tight.zip";
|
|
sha256 = "sha256-GLcAKu9AeYZ8j285ykiwx31Qoja6tZCXQR88CTu27UY=";
|
|
stripRoot = false;
|
|
};
|
|
|
|
installPhase = ''
|
|
runHook preInstall
|
|
|
|
mkdir -p $out/share/fonts
|
|
cp *.ttf $out/share/fonts
|
|
|
|
runHook postInstall
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "The Hug Me Tight font";
|
|
homepage = "https://mistifonts.com/hug-me-tight";
|
|
platforms = platforms.all;
|
|
};
|
|
}
|