32 lines
567 B
Nix
32 lines
567 B
Nix
{ stdenvNoCC
|
|
, texlive
|
|
}:
|
|
|
|
stdenvNoCC.mkDerivation (final: {
|
|
pname = "syd-plex-latex";
|
|
version = "1.0.0";
|
|
src = ./.;
|
|
nativeBuildInputs = [ texlive.combined.scheme-small ];
|
|
passthru = {
|
|
pkgs = [ final.finalPackage ];
|
|
tlDeps = with texlive; [
|
|
plex
|
|
plex-otf
|
|
fontaxes
|
|
unicode-math
|
|
xetex
|
|
fontspec
|
|
xltxtra
|
|
realscripts
|
|
];
|
|
tlType = "run";
|
|
};
|
|
installPhase = ''
|
|
runHook preInstall
|
|
dir="$out/tex/latex/syd-plex"
|
|
mkdir -p "$dir"
|
|
mv syd-plex.sty "$dir"
|
|
runHook postInstall
|
|
'';
|
|
})
|