mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 15:41:48 +00:00
f71d6f9f91
svn path=/nixpkgs/trunk/; revision=19925
26 lines
501 B
Nix
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";
|
|
};
|
|
}
|
|
|