mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 13:43:22 +00:00
34 lines
1.0 KiB
Nix
34 lines
1.0 KiB
Nix
{ lib, mkDerivation, fetchFromGitHub, qmake, qtbase, qtscript, qtsvg,
|
|
wrapQtAppsHook, poppler, zlib, pkg-config }:
|
|
|
|
mkDerivation rec {
|
|
pname = "texstudio";
|
|
version = "3.1.2";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "${pname}-org";
|
|
repo = pname;
|
|
rev = version;
|
|
sha256 = "0h5g1sirsy1f2xlq85c1ik1s52gycfipy9yx0flgaw8m4wmhz26v";
|
|
};
|
|
|
|
nativeBuildInputs = [ qmake wrapQtAppsHook pkg-config ];
|
|
buildInputs = [ qtbase qtscript qtsvg poppler zlib ];
|
|
|
|
qmakeFlags = [ "NO_APPDATA=True" ];
|
|
|
|
meta = with lib; {
|
|
description = "TeX and LaTeX editor";
|
|
longDescription=''
|
|
Fork of TeXMaker, this editor is a full fledged IDE for
|
|
LaTeX editing with completion, structure viewer, preview,
|
|
spell checking and support of any compilation chain.
|
|
'';
|
|
homepage = "https://texstudio.org";
|
|
changelog = "https://github.com/texstudio-org/texstudio/blob/${version}/utilities/manual/CHANGELOG.txt";
|
|
license = licenses.gpl2Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ ajs124 cfouche ];
|
|
};
|
|
}
|