nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 27 lines 705 B view raw
1{ lib, stdenvNoCC, fetchzip }: 2 3stdenvNoCC.mkDerivation rec { 4 pname = "hackgen-nf-font"; 5 version = "2.9.0"; 6 7 src = fetchzip { 8 url = "https://github.com/yuru7/HackGen/releases/download/v${version}/HackGen_NF_v${version}.zip"; 9 hash = "sha256-Lh4WQJjeP4JuR8jSXpRNSrjRsNPmNXSx5AItNYMJL2A="; 10 }; 11 12 installPhase = '' 13 runHook preInstall 14 15 install -Dm644 *.ttf -t $out/share/fonts/hackgen-nf 16 17 runHook postInstall 18 ''; 19 20 meta = with lib; { 21 description = "A composite font of Hack, GenJyuu-Gothic and nerd-fonts"; 22 homepage = "https://github.com/yuru7/HackGen"; 23 license = licenses.ofl; 24 platforms = platforms.all; 25 maintainers = with maintainers; [ natsukium ]; 26 }; 27}