@@ -7,7 +7,6 @@
77, enableRST ? true
88, enableSpelling ? true, gtkspell ? null
99, enableNotifications ? false
10−, enableLaTeX ? false, texLive ? null
1110}:
1211
1312assert enableJingle -> farstream != null && gst_plugins_bad != null
@@ -16,7 +15,6 @@ assert enableE2E -> pythonPackages.pycrypto != null;
1615assert enableRST -> pythonPackages.docutils != null;
1716assert enableSpelling -> gtkspell != null;
1817assert enableNotifications -> pythonPackages.notify != null;
19−assert enableLaTeX -> texLive != null;
2018
2119with stdenv.lib;
2220
@@ -51,11 +49,6 @@ stdenv.mkDerivation rec {
5149 '' + optionalString enableSpelling ''
5250 sed -i -e 's|=.*find_lib.*|= "${gtkspell}/lib/libgtkspell.so"|' \
5351 src/gtkspell.py
54− '' + optionalString enableLaTeX ''
55− sed -i -e "s|try_run(.'dvipng'|try_run(['${texLive}/bin/dvipng'|" \
56− -e "s|try_run(.'latex'|try_run(['${texLive}/bin/latex'|" \
57− -e 's/tmpfd.close()/os.close(tmpfd)/' \
58− src/common/latex.py
5952 '';
6053
6154 buildInputs = [
@@ -68,8 +61,7 @@ stdenv.mkDerivation rec {
6861 ] ++ optionals enableJingle [ farstream gst_plugins_bad libnice ]
6962 ++ optional enableE2E pythonPackages.pycrypto
7063 ++ optional enableRST pythonPackages.docutils
71− ++ optional enableNotifications pythonPackages.notify
72− ++ optional enableLaTeX texLive;
64+ ++ optional enableNotifications pythonPackages.notify;
7365
7466 postInstall = ''
7567 install -m 644 -t "$out/share/gajim/icons/hicolor" \