nixpkgs/pkgs/data/fonts/lmodern/default.nix
Michael Raskin f71d6f9f91 Update lmodern
svn path=/nixpkgs/trunk/; revision=19925
2010-02-11 09:44:48 +00:00

26 lines
501 B
Nix

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