nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 27 lines 553 B view raw
1{ lib, stdenvNoCC, fetchurl }: 2 3stdenvNoCC.mkDerivation rec { 4 pname = "lmodern"; 5 version = "2.005"; 6 7 src = fetchurl { 8 url = "mirror://debian/pool/main/l/${pname}/${pname}_${version}.orig.tar.gz"; 9 hash = "sha256-xlUuZt6rjW0pX4t6PKWAHkkv3PisGCj7ZwatZPAUNxk="; 10 }; 11 12 installPhase = '' 13 runHook preInstall 14 15 mkdir -p $out/texmf-dist/ 16 mkdir -p $out/share/fonts/ 17 18 cp -r * $out/texmf-dist/ 19 cp -r fonts/{opentype,type1} $out/share/fonts/ 20 21 runHook postInstall 22 ''; 23 24 meta = { 25 description = "Latin Modern font"; 26 }; 27}