nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 29 lines 780 B view raw
1{ lib, stdenvNoCC, fetchzip }: 2 3stdenvNoCC.mkDerivation rec { 4 pname = "nanum-gothic-coding"; 5 version = "2.5"; 6 7 src = fetchzip { 8 url = "https://github.com/naver/nanumfont/releases/download/VER${version}/NanumGothicCoding-${version}.zip"; 9 stripRoot = false; 10 hash = "sha256-jHbbCMUxn54iQMKdAWI3r8CDxi+5LLJh8ucQzq2Ukdc="; 11 }; 12 13 installPhase = '' 14 runHook preInstall 15 16 mkdir -p $out/share/fonts/NanumGothicCoding 17 cp *.ttf $out/share/fonts/NanumGothicCoding 18 19 runHook postInstall 20 ''; 21 22 meta = with lib; { 23 description = "A contemporary monospaced sans-serif typeface with a warm touch"; 24 homepage = "https://github.com/naver/nanumfont"; 25 license = licenses.ofl; 26 platforms = platforms.all; 27 maintainers = with maintainers; [ ]; 28 }; 29}