mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
db476e8f9d
* lmodern: 2.004.4 -> 2.004.5 Semi-automatic update generated by https://github.com/ryantm/nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/lmodern/versions * lmodern: fix hash
28 lines
572 B
Nix
28 lines
572 B
Nix
{ stdenv, fetchzip }:
|
|
|
|
fetchzip {
|
|
name = "lmodern-2.004.5";
|
|
|
|
url = mirror://debian/pool/main/l/lmodern/lmodern_2.004.5.orig.tar.gz;
|
|
|
|
postFetch = ''
|
|
tar xzvf $downloadedFile
|
|
|
|
mkdir -p $out/texmf-dist/
|
|
mkdir -p $out/share/fonts/
|
|
|
|
cp -r lmodern-2.004.5/* $out/texmf-dist/
|
|
cp -r lmodern-2.004.5/fonts/{opentype,type1} $out/share/fonts/
|
|
|
|
ln -s -r $out/texmf* $out/share/
|
|
'';
|
|
|
|
sha256 = "11f10qnp8a435lhh19zc2znlf9q4isynmvjmvr63g5n5fhvhc192";
|
|
|
|
meta = {
|
|
description = "Latin Modern font";
|
|
platforms = stdenv.lib.platforms.unix;
|
|
};
|
|
}
|
|
|