diff options
author | ajs124 <git@ajs124.de> | 2023-07-31 11:54:40 +0200 |
---|---|---|
committer | ajs124 <git@ajs124.de> | 2023-07-31 12:04:06 +0200 |
commit | 07347b5352cd1ba9f80930690638980600a503ee (patch) | |
tree | b9aea65c4968c4b2d2428c5ce4719fa0811c7a27 /pkgs/applications | |
parent | f66a17427221bbbb76bdd5ef8011030341c4a457 (diff) |
texstudio: qt5 -> qt6
Diffstat (limited to 'pkgs/applications')
-rw-r--r-- | pkgs/applications/editors/texstudio/default.nix | 32 |
1 files changed, 23 insertions, 9 deletions
diff --git a/pkgs/applications/editors/texstudio/default.nix b/pkgs/applications/editors/texstudio/default.nix index bdb96271ef6bc..97f51014d0b6a 100644 --- a/pkgs/applications/editors/texstudio/default.nix +++ b/pkgs/applications/editors/texstudio/default.nix @@ -1,19 +1,33 @@ -{ lib, mkDerivation, fetchFromGitHub, cmake, qtbase, qtscript, qtsvg, - wrapQtAppsHook, poppler, zlib, pkg-config }: +{ stdenv, lib, fetchFromGitHub, cmake, qtbase, qttools, qtsvg, qt5compat, quazip +, hunspell +, wrapQtAppsHook, poppler, zlib, pkg-config }: -mkDerivation rec { +stdenv.mkDerivation (finalAttrs: { pname = "texstudio"; version = "4.6.2"; src = fetchFromGitHub { - owner = "${pname}-org"; - repo = pname; - rev = version; + owner = "texstudio-org"; + repo = "texstudio"; + rev = finalAttrs.version; hash = "sha256-2bvKB/8HcZoTk2J6FQXXJREqGp6EZ95C2Aqcx9o/eho="; }; - nativeBuildInputs = [ cmake wrapQtAppsHook pkg-config ]; - buildInputs = [ qtbase qtscript qtsvg poppler zlib ]; + nativeBuildInputs = [ + cmake + wrapQtAppsHook + pkg-config + ]; + buildInputs = [ + hunspell + poppler + qt5compat + qtbase + qtsvg + qttools + quazip + zlib + ]; meta = with lib; { description = "TeX and LaTeX editor"; @@ -28,4 +42,4 @@ mkDerivation rec { platforms = platforms.linux; maintainers = with maintainers; [ ajs124 cfouche ]; }; -} +}) |