diff options
author | Peter Simons <simons@cryp.to> | 2014-04-28 22:42:47 +0200 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2014-04-28 22:42:47 +0200 |
commit | 3445df42a422448e2d6cf8e47f5d67d0e4d9d476 (patch) | |
tree | cbae088232bff455ac9612e1279a522b5b9d0ef1 /pkgs/applications/editors | |
parent | fec91fd092dff0173e3716435391d7ec13ea6588 (diff) | |
parent | 3701fdf0663ea48dc20deddc29bc8e1f543f25d8 (diff) | |
download | nixlib-3445df42a422448e2d6cf8e47f5d67d0e4d9d476.tar nixlib-3445df42a422448e2d6cf8e47f5d67d0e4d9d476.tar.gz nixlib-3445df42a422448e2d6cf8e47f5d67d0e4d9d476.tar.bz2 nixlib-3445df42a422448e2d6cf8e47f5d67d0e4d9d476.tar.lz nixlib-3445df42a422448e2d6cf8e47f5d67d0e4d9d476.tar.xz nixlib-3445df42a422448e2d6cf8e47f5d67d0e4d9d476.tar.zst nixlib-3445df42a422448e2d6cf8e47f5d67d0e4d9d476.zip |
Merge pull request #2368 from Chaddai/texmaker
TeXmaker
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r-- | pkgs/applications/editors/texmaker/default.nix | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/pkgs/applications/editors/texmaker/default.nix b/pkgs/applications/editors/texmaker/default.nix new file mode 100644 index 000000000000..16335a550653 --- /dev/null +++ b/pkgs/applications/editors/texmaker/default.nix @@ -0,0 +1,34 @@ +{ stdenv, fetchurl, qt4, popplerQt4, zlib, pkgconfig, poppler}: + +stdenv.mkDerivation rec { + pname = "texmaker"; + version = "4.1.1"; + name = "${pname}-${version}"; + + src = fetchurl { + url = "http://www.xm1math.net/texmaker/${name}.tar.bz2"; + sha256 = "1h5rxdq6f05wk3lnlw96fxwrb14k77cx1mwy648127h2c8nsgw4z"; + }; + + buildInputs = [ qt4 popplerQt4 zlib ]; + + nativeBuildInputs = [ pkgconfig poppler ]; + + preConfigure = '' + export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I$(echo ${poppler}/include/poppler/) " # for poppler-config.h + qmake PREFIX=$out DESKTOPDIR=$out/share/applications ICONDIR=$out/share/pixmaps texmaker.pro + ''; + + 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; + maintainers = with maintainers; [ cfouche ]; + }; +} |