mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-25 16:33:15 +00:00
texmaker: format code
This commit is contained in:
parent
b4f3f4b20e
commit
059cc40db4
@ -1,16 +1,40 @@
|
|||||||
{ lib, stdenv, fetchurl, cmake, qtbase, qttools, qtwebengine, qt5compat, zlib, pkg-config, poppler, wrapQtAppsHook }:
|
{
|
||||||
|
lib,
|
||||||
|
stdenv,
|
||||||
|
fetchurl,
|
||||||
|
cmake,
|
||||||
|
pkg-config,
|
||||||
|
wrapQtAppsHook,
|
||||||
|
poppler,
|
||||||
|
qtbase,
|
||||||
|
qttools,
|
||||||
|
qtwebengine,
|
||||||
|
qt5compat,
|
||||||
|
zlib
|
||||||
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "texmaker";
|
pname = "texmaker";
|
||||||
version = "6.0.0";
|
version = "6.0.0";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://www.xm1math.net/texmaker/${pname}-${version}.tar.bz2";
|
url = "http://www.xm1math.net/texmaker/texmaker-${version}.tar.bz2";
|
||||||
hash = "sha256-l3zlgOJcGrbgvD2hA74LQ+v2C4zg0nJzEE/df1hhd/w=";
|
hash = "sha256-l3zlgOJcGrbgvD2hA74LQ+v2C4zg0nJzEE/df1hhd/w=";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [ qtbase poppler zlib qtwebengine qt5compat qttools ];
|
buildInputs = [
|
||||||
nativeBuildInputs = [ pkg-config cmake wrapQtAppsHook ];
|
poppler
|
||||||
|
qtbase
|
||||||
|
qtwebengine
|
||||||
|
qt5compat
|
||||||
|
qttools
|
||||||
|
zlib
|
||||||
|
];
|
||||||
|
nativeBuildInputs = [
|
||||||
|
cmake
|
||||||
|
pkg-config
|
||||||
|
wrapQtAppsHook
|
||||||
|
];
|
||||||
|
|
||||||
qmakeFlags = [
|
qmakeFlags = [
|
||||||
"DESKTOPDIR=${placeholder "out"}/share/applications"
|
"DESKTOPDIR=${placeholder "out"}/share/applications"
|
||||||
@ -20,7 +44,7 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "TeX and LaTeX editor";
|
description = "TeX and LaTeX editor";
|
||||||
longDescription=''
|
longDescription = ''
|
||||||
This editor is a full fledged IDE for TeX and
|
This editor is a full fledged IDE for TeX and
|
||||||
LaTeX editing with completion, structure viewer, preview,
|
LaTeX editing with completion, structure viewer, preview,
|
||||||
spell checking and support of any compilation chain.
|
spell checking and support of any compilation chain.
|
||||||
@ -28,7 +52,10 @@ stdenv.mkDerivation rec {
|
|||||||
homepage = "http://www.xm1math.net/texmaker/";
|
homepage = "http://www.xm1math.net/texmaker/";
|
||||||
license = licenses.gpl2Plus;
|
license = licenses.gpl2Plus;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = with maintainers; [ cfouche markuskowa ];
|
maintainers = with maintainers; [
|
||||||
|
cfouche
|
||||||
|
markuskowa
|
||||||
|
];
|
||||||
mainProgram = "texmaker";
|
mainProgram = "texmaker";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user