2019-10-22 06:36:52 -07:00
|
|
|
{ lib, mkDerivation, fetchurl, qtbase, qtscript, qmake, zlib, pkgconfig, poppler }:
|
2014-04-24 01:54:09 -07:00
|
|
|
|
2019-10-22 06:36:52 -07:00
|
|
|
mkDerivation rec {
|
2014-04-24 01:54:09 -07:00
|
|
|
pname = "texmaker";
|
2018-11-08 09:56:15 -08:00
|
|
|
version = "5.0.3";
|
2014-04-24 01:54:09 -07:00
|
|
|
|
|
|
|
src = fetchurl {
|
2019-08-15 05:41:18 -07:00
|
|
|
url = "http://www.xm1math.net/texmaker/${pname}-${version}.tar.bz2";
|
2018-11-08 09:56:15 -08:00
|
|
|
sha256 = "0vrj9w5lk3vf6138n5bz8phmy3xp5kv4dq1rgirghcf4hbxdyx30";
|
2014-04-24 01:54:09 -07:00
|
|
|
};
|
|
|
|
|
2018-03-11 17:56:26 -07:00
|
|
|
buildInputs = [ qtbase qtscript poppler zlib ];
|
|
|
|
nativeBuildInputs = [ pkgconfig poppler qmake ];
|
2016-04-16 10:45:33 -07:00
|
|
|
NIX_CFLAGS_COMPILE="-I${poppler.dev}/include/poppler";
|
2014-04-24 01:54:09 -07:00
|
|
|
|
2019-10-22 08:27:47 -07:00
|
|
|
qmakeFlags = [
|
|
|
|
"DESKTOPDIR=${placeholder "out"}/share/applications"
|
|
|
|
"ICONDIR=${placeholder "out"}/share/pixmaps"
|
|
|
|
"METAINFODIR=${placeholder "out"}/share/metainfo"
|
|
|
|
];
|
2018-03-11 17:56:26 -07:00
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2019-10-22 06:36:52 -07:00
|
|
|
meta = with lib; {
|
2014-04-24 01:54:09 -07:00
|
|
|
description = "TeX and LaTeX editor";
|
|
|
|
longDescription=''
|
|
|
|
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.
|
|
|
|
'';
|
2017-08-01 13:03:30 -07:00
|
|
|
homepage = http://www.xm1math.net/texmaker/;
|
2014-04-24 01:54:09 -07:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
platforms = platforms.linux;
|
2019-02-09 11:48:39 -08:00
|
|
|
maintainers = with maintainers; [ cfouche markuskowa ];
|
2014-04-24 01:54:09 -07:00
|
|
|
};
|
|
|
|
}
|