nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 28 lines 751 B view raw
1{ lib, stdenvNoCC, fetchurl }: 2 3stdenvNoCC.mkDerivation rec { 4 pname = "cm-unicode"; 5 version = "0.7.0"; 6 7 src = fetchurl { 8 url = "mirror://sourceforge/cm-unicode/cm-unicode/${version}/${pname}-${version}-otf.tar.xz"; 9 hash = "sha256-VIp+vk1IYbEHW15wMrfGVOPqg1zBZDpgFx+jlypOHCg="; 10 }; 11 12 installPhase = '' 13 runHook preInstall 14 15 install -m444 -Dt $out/share/fonts/opentype *.otf 16 install -m444 -Dt $out/share/doc/${pname}-${version} README FontLog.txt 17 18 runHook postInstall 19 ''; 20 21 meta = with lib; { 22 homepage = "https://cm-unicode.sourceforge.io/"; 23 description = "Computer Modern Unicode fonts"; 24 maintainers = with maintainers; [ raskin rycee ]; 25 license = licenses.ofl; 26 platforms = platforms.all; 27 }; 28}