2021-08-18 13:19:15 +00:00
|
|
|
{ lib, mkDerivation, fetchurl, qtbase, qtscript, qtwebengine, qmake, zlib, pkg-config, poppler }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
mkDerivation rec {
|
|
|
|
pname = "texmaker";
|
2022-04-27 09:35:20 +00:00
|
|
|
version = "5.1.3";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "http://www.xm1math.net/texmaker/${pname}-${version}.tar.bz2";
|
2022-04-27 09:35:20 +00:00
|
|
|
sha256 = "0qczc2r01vhap11xmqizwbq21ggn4yjrxim8iqjxaq9w1rg2x9dz";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2021-08-18 13:19:15 +00:00
|
|
|
buildInputs = [ qtbase qtscript poppler zlib qtwebengine ];
|
2021-02-05 17:12:51 +00:00
|
|
|
nativeBuildInputs = [ pkg-config poppler qmake ];
|
2023-03-04 12:14:45 +00:00
|
|
|
env.NIX_CFLAGS_COMPILE = "-I${poppler.dev}/include/poppler";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
qmakeFlags = [
|
|
|
|
"DESKTOPDIR=${placeholder "out"}/share/applications"
|
|
|
|
"ICONDIR=${placeholder "out"}/share/pixmaps"
|
|
|
|
"METAINFODIR=${placeholder "out"}/share/metainfo"
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "TeX and LaTeX editor";
|
|
|
|
longDescription=''
|
2021-02-05 17:12:51 +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-24 23:36:52 +00:00
|
|
|
homepage = "http://www.xm1math.net/texmaker/";
|
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ cfouche markuskowa ];
|
|
|
|
};
|
|
|
|
}
|