nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 28 lines 661 B view raw
1{ lib, stdenvNoCC, fetchurl }: 2 3stdenvNoCC.mkDerivation rec { 4 pname = "nanum"; 5 version = "20200506"; 6 7 src = fetchurl { 8 url = "mirror://ubuntu/pool/universe/f/fonts-${pname}/fonts-${pname}_${version}.orig.tar.xz"; 9 hash = "sha256-FXgDdIGYFRJQo898sDrvhE5AjpyYhJ3YieGRhGqsrUs="; 10 }; 11 12 installPhase = '' 13 runHook preInstall 14 15 mkdir -p $out/share/fonts 16 cp *.ttf $out/share/fonts 17 18 runHook postInstall 19 ''; 20 21 meta = with lib; { 22 description = "Nanum Korean font set"; 23 homepage = "https://hangeul.naver.com/font"; 24 license = licenses.ofl; 25 maintainers = with lib.maintainers; [ serge ]; 26 platforms = platforms.all; 27 }; 28}