dot.nix/pkgs/monocraft-nerd-fonts/package.nix
Chris Toph f44e48c1ba Adds overlays and restructures package directories
- Applies overlays in flake to make custom packages available
- Replaces recursive package import with explicit package scanning
- Moves packages from `pkgs/common` to `pkgs/` and updates overlay paths
- Updates snapraid-runner email configuration (from, host, port, credentials)
2025-04-20 13:27:09 -04:00

26 lines
713 B
Nix

{ pkgs, lib, ... }:
pkgs.stdenvNoCC.mkDerivation {
pname = "monocraft-nerd-fonts";
version = "4.0";
phases = [ "installPhase" ]; # Removes all phases except installPhase
src = pkgs.fetchurl {
url = "https://github.com/IdreesInc/Monocraft/releases/download/v4.0/Monocraft-nerd-fonts-patched.ttc";
sha256 = "95801bf21826bf8572af3787af82e77ee48df4bfb87e90c4317fcffbe7eaf037";
};
# unpackPhase = ":".
installPhase = ''
mkdir -p $out/share/fonts/truetype/
cp -r $src $out/share/fonts/truetype/monocraft-nerd-fonts.ttc
'';
meta = with lib; {
description = "Monocraft Nerd Fonts";
homepage = "https://github.com/IdreesInc/Monocraft";
platforms = platforms.all;
};
}