nixpkgs/pkgs/applications/editors/texstudio/default.nix
ajs124 e56f55fe52 texstudio: 2.12.22 -> 3.0.0
this release drops qt4 support, but we haven't been using that for >2 years anyways
2020-08-27 13:49:53 +02:00

33 lines
963 B
Nix

{ lib, mkDerivation, fetchFromGitHub, qmake, qtbase, qtscript, qtsvg,
wrapQtAppsHook, poppler, zlib, pkgconfig }:
mkDerivation rec {
pname = "texstudio";
version = "3.0.0";
src = fetchFromGitHub {
owner = "${pname}-org";
repo = pname;
rev = version;
sha256 = "1663lgl30698awa7fjplr8rjnf6capqvf8z80lzlnkfl5m9ph0jb";
};
nativeBuildInputs = [ qmake wrapQtAppsHook pkgconfig ];
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 = "http://texstudio.sourceforge.net";
license = licenses.gpl2Plus;
platforms = [ "x86_64-linux" ];
maintainers = with maintainers; [ ajs124 cfouche ];
};
}