nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 27 lines 636 B view raw
1{ lib, stdenvNoCC, fetchurl }: 2 3stdenvNoCC.mkDerivation rec { 4 pname = "lao"; 5 version = "0.0.20060226"; 6 7 src = fetchurl { 8 url = "mirror://debian/pool/main/f/fonts-${pname}/fonts-${pname}_${version}.orig.tar.xz"; 9 hash = "sha256-DlgdyfhxxzVkNIL+NGsQ+PRlNkCuG3v2OahkIEYx60o="; 10 }; 11 12 installPhase = '' 13 runHook preInstall 14 15 mkdir -p $out/share/fonts 16 cp Phetsarath_OT.ttf $out/share/fonts 17 18 runHook postInstall 19 ''; 20 21 meta = with lib; { 22 description = "TrueType font for Lao language"; 23 license = licenses.gpl2Plus; 24 maintainers = with lib.maintainers; [ serge ]; 25 platforms = platforms.all; 26 }; 27}