push sheeet
Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s

This commit is contained in:
Dark Steveneq
2025-10-09 14:15:47 +02:00
commit 646b892680
49168 changed files with 5897842 additions and 0 deletions

View File

@@ -0,0 +1,57 @@
{
lib,
stdenv,
fetchFromGitHub,
inotify-tools,
openssh,
perl,
gnutar,
bash,
makeWrapper,
}:
stdenv.mkDerivation rec {
pname = "sshlatex";
version = "0.8";
src = fetchFromGitHub {
owner = "iblech";
repo = "sshlatex";
rev = version;
sha256 = "0kaah8is74zba9373xccmsxmnnn6kh0isr4qpg21x3qhdzhlxl7q";
};
nativeBuildInputs = [ makeWrapper ];
installPhase =
let
binPath = lib.makeBinPath [
openssh
perl
gnutar
bash
inotify-tools
];
in
''
mkdir -p $out/bin
cp sshlatex $out/bin
wrapProgram $out/bin/sshlatex --prefix PATH : "${binPath}"
'';
meta = with lib; {
description = "Collection of hacks to efficiently run LaTeX via ssh";
longDescription = ''
sshlatex is a tool which uploads LaTeX source files to a remote, runs
LaTeX there, and streams the resulting PDF file to the local host.
Because sshlatex prestarts LaTeX with the previous run's preamble,
thereby preloading the required LaTeX packages, it is also useful in a
purely local setting.
'';
homepage = "https://github.com/iblech/sshlatex";
license = lib.licenses.gpl3Plus; # actually dual-licensed gpl3Plus | lppl13cplus
platforms = lib.platforms.all;
maintainers = [ maintainers.iblech ];
mainProgram = "sshlatex";
};
}