1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-20 04:31:52 +00:00
nixpkgs/pkgs/data/fonts/lmodern/default.nix
2013-12-18 18:18:37 +02:00

26 lines
509 B
Nix

{ stdenv, fetchurl }:
stdenv.mkDerivation {
name = "lmodern-2.004.4";
src = fetchurl {
url = mirror://debian/pool/main/l/lmodern/lmodern_2.004.4.orig.tar.gz;
sha256 = "1g1fmi9asw6x9arm5sy3r4jwz7zrrbcw6q4waj3iqs0iq525i1rw";
};
installPhase = ''
mkdir -p $out/texmf-dist/
mkdir -p $out/share/fonts/
cp -r ./* $out/texmf-dist/
cp -r fonts/{opentype,type1} $out/share/fonts/
ln -s $out/texmf* $out/share/
'';
meta = {
description = "Latin Modern font";
};
}