nixpkgs/pkgs/applications/editors/texmaker/default.nix

37 lines
1.1 KiB
Nix
Raw Normal View History

2019-10-22 13:36:52 +00:00
{ lib, mkDerivation, fetchurl, qtbase, qtscript, qmake, zlib, pkgconfig, poppler }:
2019-10-22 13:36:52 +00:00
mkDerivation rec {
pname = "texmaker";
2020-01-04 19:18:06 +00:00
version = "5.0.4";
src = fetchurl {
url = "http://www.xm1math.net/texmaker/${pname}-${version}.tar.bz2";
2020-01-04 19:18:06 +00:00
sha256 = "1qnh5g8zkjpjmw2l8spcynpfgs3wpcfcla5ms2kkgvkbdlzspqqx";
};
2018-03-12 00:56:26 +00:00
buildInputs = [ qtbase qtscript poppler zlib ];
nativeBuildInputs = [ pkgconfig poppler qmake ];
NIX_CFLAGS_COMPILE="-I${poppler.dev}/include/poppler";
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 13:36:52 +00:00
meta = with lib; {
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.
'';
homepage = http://www.xm1math.net/texmaker/;
license = licenses.gpl2Plus;
platforms = platforms.linux;
2019-02-09 19:48:39 +00:00
maintainers = with maintainers; [ cfouche markuskowa ];
};
}