nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at netboot-syslinux-multiplatform 33 lines 1.2 kB view raw
1{ lib, stdenvNoCC, fetchzip }: 2 3stdenvNoCC.mkDerivation rec { 4 pname = "lmmath"; 5 version = "1.959"; 6 7 src = fetchzip { 8 url = "http://www.gust.org.pl/projects/e-foundry/lm-math/download/latinmodern-math-1959.zip"; 9 hash = "sha256-et/WMhfZZYgP0S7ZmI6MZK5owv9bSoMBXFX6yGSng5Y="; 10 }; 11 12 installPhase = '' 13 runHook preInstall 14 15 mkdir -p $out/share/fonts/opentype/ 16 mkdir -p $out/share/doc/latinmodern-math-${version}/ 17 cp otf/*.otf $out/share/fonts/opentype/ 18 cp doc/*.txt $out/share/doc/latinmodern-math-${version}/ 19 20 runHook postInstall 21 ''; 22 23 meta = with lib; { 24 description = "The Latin Modern Math (LM Math) font completes the modernization of the Computer Modern family of typefaces designed and programmed by Donald E. Knuth"; 25 homepage = "http://www.gust.org.pl/projects/e-foundry/lm-math"; 26 # "The Latin Modern Math font is licensed under the GUST Font License (GFL), 27 # which is a free license, legally equivalent to the LaTeX Project Public 28 # License (LPPL), version 1.3c or later." - GUST website 29 license = licenses.lppl13c; 30 maintainers = with maintainers; [ siddharthist ]; 31 platforms = platforms.all; 32 }; 33}