texworks: fix qt build
This commit is contained in:
parent
12be6698e8
commit
aaefb947ea
@ -1,9 +1,9 @@
|
|||||||
{ stdenv, lib, fetchFromGitHub, cmake, pkgconfig
|
{ mkDerivation, lib, fetchFromGitHub, cmake, pkg-config
|
||||||
, qt5, libsForQt5, hunspell
|
, qtscript, poppler, hunspell
|
||||||
, withLua ? true, lua
|
, withLua ? true, lua
|
||||||
, withPython ? true, python3 }:
|
, withPython ? true, python3 }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
mkDerivation rec {
|
||||||
pname = "texworks";
|
pname = "texworks";
|
||||||
version = "0.6.4";
|
version = "0.6.4";
|
||||||
|
|
||||||
@ -14,15 +14,15 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "0d7f23c6c1wj4aii4h5w9piv01qfb69zrd79dvxwydrk99i8gnl4";
|
sha256 = "0d7f23c6c1wj4aii4h5w9piv01qfb69zrd79dvxwydrk99i8gnl4";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ cmake pkgconfig ];
|
nativeBuildInputs = [ cmake pkg-config ];
|
||||||
buildInputs = [ qt5.qtscript libsForQt5.poppler hunspell ]
|
buildInputs = [ qtscript poppler hunspell ]
|
||||||
++ lib.optional withLua lua
|
++ lib.optional withLua lua
|
||||||
++ lib.optional withPython python3;
|
++ lib.optional withPython python3;
|
||||||
|
|
||||||
cmakeFlags = lib.optional withLua "-DWITH_LUA=ON"
|
cmakeFlags = lib.optional withLua "-DWITH_LUA=ON"
|
||||||
++ lib.optional withPython "-DWITH_PYTHON=ON";
|
++ lib.optional withPython "-DWITH_PYTHON=ON";
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with lib; {
|
||||||
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;
|
||||||
|
@ -6855,7 +6855,7 @@ in
|
|||||||
|
|
||||||
textadept = callPackage ../applications/editors/textadept { };
|
textadept = callPackage ../applications/editors/textadept { };
|
||||||
|
|
||||||
texworks = callPackage ../applications/editors/texworks { };
|
texworks = libsForQt5.callPackage ../applications/editors/texworks { };
|
||||||
|
|
||||||
thc-hydra = callPackage ../tools/security/thc-hydra { };
|
thc-hydra = callPackage ../tools/security/thc-hydra { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user