texworks: 0.6.5 -> 0.6.6

This commit is contained in:
Robert Schütz 2021-03-12 21:40:13 +01:00
parent 916ee862e8
commit fc1e1ad891

View file

@ -1,27 +1,19 @@
{ mkDerivation, lib, fetchFromGitHub, fetchpatch, cmake, pkg-config { mkDerivation, lib, fetchFromGitHub, cmake, pkg-config
, qtscript, poppler, hunspell , qtscript, poppler, hunspell
, withLua ? true, lua , withLua ? true, lua
, withPython ? true, python3 }: , withPython ? true, python3 }:
mkDerivation rec { mkDerivation rec {
pname = "texworks"; pname = "texworks";
version = "0.6.5"; version = "0.6.6";
src = fetchFromGitHub { src = fetchFromGitHub {
owner = "TeXworks"; owner = "TeXworks";
repo = "texworks"; repo = "texworks";
rev = "release-${version}"; rev = "release-${version}";
sha256 = "1lw1p4iyzxypvjhnav11g6rwf6gx7kyzwy2iprvv8zzpqcdkjp2z"; sha256 = "0l8jl1b8lpas7yz6m0qc2nikyn54lx2ljzmjjz3zgxgd6l502006";
}; };
patches = [
(fetchpatch {
name = "fix-compilation-with-qt-5.15.patch";
url = "https://github.com/TeXworks/texworks/commit/a5352a3a94e3685125650b65e6197de060326cc2.patch";
sha256 = "0pf7h1m11x0s039bxknm7rxdp9b4g8ch86y38jlyy56c74mw97i6";
})
];
nativeBuildInputs = [ cmake pkg-config ]; nativeBuildInputs = [ cmake pkg-config ];
buildInputs = [ qtscript poppler hunspell ] buildInputs = [ qtscript poppler hunspell ]
++ lib.optional withLua lua ++ lib.optional withLua lua