nixpkgs-suyu/pkgs/applications/editors/texstudio/default.nix
ajs124 ed1db01785 texstudio: 2.12.20 -> 2.12.22
also add myself as maintainer
2020-03-12 23:58:40 +00:00

32 lines
963 B
Nix

{ lib, mkDerivation, fetchFromGitHub, qmake, qtbase, qtscript, qtsvg,
wrapQtAppsHook, poppler, zlib, pkgconfig }:
mkDerivation rec {
pname = "texstudio";
version = "2.12.22";
src = fetchFromGitHub {
owner = "${pname}-org";
repo = pname;
rev = version;
sha256 = "037jvsfln8wav17qj9anxz2a7p51v7ky85wmhdj2hgwp40al651g";
};
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 ];
};
}