diff options
author | Chaddaï Fouché <chaddai.fouche@gmail.com> | 2014-04-24 10:54:09 +0200 |
---|---|---|
committer | Chaddaï Fouché <chaddai.fouche@gmail.com> | 2014-04-24 10:59:29 +0200 |
commit | 31b58dccfe162c43f56945f4444e7fa3a1d566da (patch) | |
tree | ab34557346d31dccd2695a41769a14f8f9e6c429 | |
parent | 7fec0b58324029f2afb30e7f8a8a0622c7552c91 (diff) | |
download | nixlib-31b58dccfe162c43f56945f4444e7fa3a1d566da.tar nixlib-31b58dccfe162c43f56945f4444e7fa3a1d566da.tar.gz nixlib-31b58dccfe162c43f56945f4444e7fa3a1d566da.tar.bz2 nixlib-31b58dccfe162c43f56945f4444e7fa3a1d566da.tar.lz nixlib-31b58dccfe162c43f56945f4444e7fa3a1d566da.tar.xz nixlib-31b58dccfe162c43f56945f4444e7fa3a1d566da.tar.zst nixlib-31b58dccfe162c43f56945f4444e7fa3a1d566da.zip |
Added TeXmaker package : an advanced editor for latex
-rw-r--r-- | pkgs/applications/editors/texmaker/default.nix | 34 | ||||
-rw-r--r-- | pkgs/top-level/all-packages.nix | 2 |
2 files changed, 36 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 ]; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 5d1961996155..23675df7ac54 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -2055,6 +2055,8 @@ let guile = guile_1_8; }; + texmaker = callPackage ../applications/editors/texmaker { }; + tiled-qt = callPackage ../applications/editors/tiled-qt { qt = qt4; }; tinc = callPackage ../tools/networking/tinc { }; |