1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-12-25 03:17:13 +00:00
nixpkgs/pkgs/applications/editors/texmaker/default.nix

37 lines
1.1 KiB
Nix
Raw Normal View History

{ lib, mkDerivation, fetchurl, qtbase, qtscript, qmake, zlib, pkg-config, poppler }:
2019-10-22 14:36:52 +01: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 = [ pkg-config 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 14:36:52 +01: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 ];
};
}