2024-09-08 18:59:49 +00:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
stdenv,
|
|
|
|
fetchurl,
|
|
|
|
cmake,
|
|
|
|
pkg-config,
|
|
|
|
wrapQtAppsHook,
|
|
|
|
poppler,
|
|
|
|
qtbase,
|
|
|
|
qttools,
|
|
|
|
qtwebengine,
|
|
|
|
qt5compat,
|
|
|
|
zlib
|
|
|
|
}:
|
2014-04-24 08:54:09 +00:00
|
|
|
|
2024-09-08 18:49:07 +00:00
|
|
|
stdenv.mkDerivation rec {
|
2014-04-24 08:54:09 +00:00
|
|
|
pname = "texmaker";
|
2024-09-08 18:49:07 +00:00
|
|
|
version = "6.0.0";
|
2014-04-24 08:54:09 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2024-09-08 18:59:49 +00:00
|
|
|
url = "http://www.xm1math.net/texmaker/texmaker-${version}.tar.bz2";
|
2024-09-08 18:49:07 +00:00
|
|
|
hash = "sha256-l3zlgOJcGrbgvD2hA74LQ+v2C4zg0nJzEE/df1hhd/w=";
|
2014-04-24 08:54:09 +00:00
|
|
|
};
|
|
|
|
|
2024-09-08 18:59:49 +00:00
|
|
|
buildInputs = [
|
|
|
|
poppler
|
|
|
|
qtbase
|
|
|
|
qtwebengine
|
|
|
|
qt5compat
|
|
|
|
qttools
|
|
|
|
zlib
|
|
|
|
];
|
|
|
|
nativeBuildInputs = [
|
|
|
|
cmake
|
|
|
|
pkg-config
|
|
|
|
wrapQtAppsHook
|
|
|
|
];
|
2014-04-24 08:54:09 +00:00
|
|
|
|
2019-10-22 15:27:47 +00:00
|
|
|
qmakeFlags = [
|
|
|
|
"DESKTOPDIR=${placeholder "out"}/share/applications"
|
|
|
|
"ICONDIR=${placeholder "out"}/share/pixmaps"
|
|
|
|
"METAINFODIR=${placeholder "out"}/share/metainfo"
|
|
|
|
];
|
2018-03-12 00:56:26 +00:00
|
|
|
|
2019-10-22 13:36:52 +00:00
|
|
|
meta = with lib; {
|
2014-04-24 08:54:09 +00:00
|
|
|
description = "TeX and LaTeX editor";
|
2024-09-08 18:59:49 +00:00
|
|
|
longDescription = ''
|
2021-01-19 21:20:11 +00:00
|
|
|
This editor is a full fledged IDE for TeX and
|
|
|
|
LaTeX editing with completion, structure viewer, preview,
|
|
|
|
spell checking and support of any compilation chain.
|
|
|
|
'';
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://www.xm1math.net/texmaker/";
|
2014-04-24 08:54:09 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
2024-09-08 18:59:49 +00:00
|
|
|
maintainers = with maintainers; [
|
|
|
|
cfouche
|
|
|
|
markuskowa
|
|
|
|
];
|
2023-11-27 01:17:53 +00:00
|
|
|
mainProgram = "texmaker";
|
2014-04-24 08:54:09 +00:00
|
|
|
};
|
|
|
|
}
|