nixpkgs/pkgs/applications/editors/texstudio/default.nix

34 lines
1.0 KiB
Nix
Raw Normal View History

{ lib, mkDerivation, fetchFromGitHub, qmake, qtbase, qtscript, qtsvg,
wrapQtAppsHook, poppler, zlib, pkg-config }:
mkDerivation rec {
pname = "texstudio";
2021-02-23 11:55:16 +00:00
version = "3.1.1";
src = fetchFromGitHub {
owner = "${pname}-org";
repo = pname;
rev = version;
2021-02-23 11:55:16 +00:00
sha256 = "sha256-MFCQwhdF+WCTqDt4q5qw431y/zqEy9vHudcUYb4BYNQ=";
};
nativeBuildInputs = [ qmake wrapQtAppsHook pkg-config ];
buildInputs = [ qtbase qtscript qtsvg poppler zlib ];
2016-04-16 23:27:11 +00:00
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.
'';
2020-12-29 20:50:42 +00:00
homepage = "https://texstudio.org";
changelog = "https://github.com/texstudio-org/texstudio/blob/${version}/utilities/manual/CHANGELOG.txt";
license = licenses.gpl2Plus;
2020-12-29 20:50:42 +00:00
platforms = platforms.linux;
maintainers = with maintainers; [ ajs124 cfouche ];
};
}