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

36 lines
1.1 KiB
Nix
Raw Normal View History

2018-03-12 00:56:26 +00:00
{ stdenv, fetchurl, qtbase, qtscript, qmake, zlib, pkgconfig, poppler }:
stdenv.mkDerivation rec {
pname = "texmaker";
version = "5.0.3";
src = fetchurl {
url = "http://www.xm1math.net/texmaker/${pname}-${version}.tar.bz2";
sha256 = "0vrj9w5lk3vf6138n5bz8phmy3xp5kv4dq1rgirghcf4hbxdyx30";
};
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";
preConfigure = ''
2018-03-12 00:56:26 +00:00
qmakeFlags="$qmakeFlags DESKTOPDIR=$out/share/applications ICONDIR=$out/share/pixmaps METAINFODIR=$out/share/metainfo"
'';
2018-03-12 00:56:26 +00:00
enableParallelBuilding = true;
meta = with stdenv.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 ];
};
}