texworks: 0.6.7 -> 0.6.8
also use Qt 6 Diff: https://github.com/TeXworks/texworks/compare/release-0.6.7...release-0.6.8 Changelog: https://github.com/TeXworks/texworks/blob/release-0.6.8/NEWS
This commit is contained in:
parent
30c3b90903
commit
60448a8845
|
@ -1,28 +1,48 @@
|
||||||
{ mkDerivation, lib, fetchFromGitHub, cmake, pkg-config
|
{ lib
|
||||||
, qtscript, poppler, hunspell
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, cmake
|
||||||
|
, pkg-config
|
||||||
|
, wrapQtAppsHook
|
||||||
|
, hunspell
|
||||||
|
, poppler
|
||||||
|
, qt5compat
|
||||||
|
, qttools
|
||||||
, withLua ? true, lua
|
, withLua ? true, lua
|
||||||
, withPython ? true, python3 }:
|
, withPython ? true, python3 }:
|
||||||
|
|
||||||
mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "texworks";
|
pname = "texworks";
|
||||||
version = "0.6.7";
|
version = "0.6.8";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "TeXworks";
|
owner = "TeXworks";
|
||||||
repo = "texworks";
|
repo = "texworks";
|
||||||
rev = "release-${version}";
|
rev = "release-${version}";
|
||||||
sha256 = "sha256-v0UukFM5brPtgq+zH5H1KfUc0eL0hjTC9z0tVQRqu2Q=";
|
sha256 = "sha256-X0VuXNghHoNsNNDfZJXXJ++nfUa5ofjW8rv3CHOUzxQ=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake pkg-config ];
|
nativeBuildInputs = [
|
||||||
buildInputs = [ qtscript poppler hunspell ]
|
cmake
|
||||||
++ lib.optional withLua lua
|
pkg-config
|
||||||
++ lib.optional withPython python3;
|
wrapQtAppsHook
|
||||||
|
];
|
||||||
|
|
||||||
cmakeFlags = lib.optional withLua "-DWITH_LUA=ON"
|
buildInputs = [
|
||||||
++ lib.optional withPython "-DWITH_PYTHON=ON";
|
hunspell
|
||||||
|
poppler
|
||||||
|
qt5compat
|
||||||
|
qttools
|
||||||
|
] ++ lib.optional withLua lua
|
||||||
|
++ lib.optional withPython python3;
|
||||||
|
|
||||||
|
cmakeFlags = [
|
||||||
|
"-DQT_DEFAULT_MAJOR_VERSION=6"
|
||||||
|
] ++ lib.optional withLua "-DWITH_LUA=ON"
|
||||||
|
++ lib.optional withPython "-DWITH_PYTHON=ON";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
|
changelog = "https://github.com/TeXworks/texworks/blob/${src.rev}/NEWS";
|
||||||
description = "Simple TeX front-end program inspired by TeXShop";
|
description = "Simple TeX front-end program inspired by TeXShop";
|
||||||
homepage = "http://www.tug.org/texworks/";
|
homepage = "http://www.tug.org/texworks/";
|
||||||
license = licenses.gpl2Plus;
|
license = licenses.gpl2Plus;
|
||||||
|
|
|
@ -12547,7 +12547,7 @@ with pkgs;
|
||||||
|
|
||||||
textadept = callPackage ../applications/editors/textadept { };
|
textadept = callPackage ../applications/editors/textadept { };
|
||||||
|
|
||||||
texworks = libsForQt5.callPackage ../applications/editors/texworks { };
|
texworks = qt6Packages.callPackage ../applications/editors/texworks { };
|
||||||
|
|
||||||
tf2pulumi = callPackage ../development/tools/tf2pulumi { };
|
tf2pulumi = callPackage ../development/tools/tf2pulumi { };
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue