2021-01-19 06:50:56 +00:00
|
|
|
{ lib, mkDerivation, fetchurl, qtbase, qtscript, qmake, zlib, pkg-config, poppler }:
|
2014-04-24 09:54:09 +01:00
|
|
|
|
2019-10-22 14:36:52 +01:00
|
|
|
mkDerivation rec {
|
2014-04-24 09:54:09 +01:00
|
|
|
pname = "texmaker";
|
2020-01-04 19:18:06 +00:00
|
|
|
version = "5.0.4";
|
2014-04-24 09:54:09 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 13:41:18 +01:00
|
|
|
url = "http://www.xm1math.net/texmaker/${pname}-${version}.tar.bz2";
|
2020-01-04 19:18:06 +00:00
|
|
|
sha256 = "1qnh5g8zkjpjmw2l8spcynpfgs3wpcfcla5ms2kkgvkbdlzspqqx";
|
2014-04-24 09:54:09 +01:00
|
|
|
};
|
|
|
|
|
2018-03-12 00:56:26 +00:00
|
|
|
buildInputs = [ qtbase qtscript poppler zlib ];
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ pkg-config poppler qmake ];
|
2016-04-16 18:45:33 +01:00
|
|
|
NIX_CFLAGS_COMPILE="-I${poppler.dev}/include/poppler";
|
2014-04-24 09:54:09 +01:00
|
|
|
|
2019-10-22 16:27:47 +01: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
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2019-10-22 14:36:52 +01:00
|
|
|
meta = with lib; {
|
2014-04-24 09:54:09 +01:00
|
|
|
description = "TeX and LaTeX editor";
|
|
|
|
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 02:11:51 +01:00
|
|
|
homepage = "http://www.xm1math.net/texmaker/";
|
2014-04-24 09:54:09 +01:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
2019-02-09 19:48:39 +00:00
|
|
|
maintainers = with maintainers; [ cfouche markuskowa ];
|
2014-04-24 09:54:09 +01:00
|
|
|
};
|
|
|
|
}
|