f71d6f9f91
svn path=/nixpkgs/trunk/; revision=19925
25 lines
501 B
Nix
25 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";
|
|
};
|
|
}
|
|
|