@@ -1,10 +1,10 @@
1−{ stdenv, fetchFromGitHub, cmake, pkgconfig, makeWrapper
1+{ stdenv, mkDerivation, fetchFromGitHub, cmake, pkgconfig, makeWrapper
22, boost, xercesc
33, qtbase, qttools, qtwebkit, qtxmlpatterns
44, python3, python3Packages
55}:
66
7−stdenv.mkDerivation rec {
7+mkDerivation rec {
88 name = "sigil-${version}";
99 version = "0.9.14";
1010
@@ -17,17 +17,18 @@ stdenv.mkDerivation rec {
1717
1818 pythonPath = with python3Packages; [ lxml ];
1919
20− propagatedBuildInputs = with python3Packages; [ lxml ];
21−
2220 nativeBuildInputs = [ cmake pkgconfig makeWrapper ];
2321
2422 buildInputs = [
2523 boost xercesc qtbase qttools qtwebkit qtxmlpatterns
26− python3 python3Packages.lxml ];
24+ python3Packages.lxml ];
25+
26+ dontWrapQtApps = true;
2727
2828 preFixup = ''
2929 wrapProgram "$out/bin/sigil" \
30− --prefix PYTHONPATH : $PYTHONPATH:$(toPythonPath ${python3Packages.lxml})
30+ --prefix PYTHONPATH : $PYTHONPATH \
31+ ''${qtWrapperArgs[@]}
3132 '';
3233
3334 enableParallelBuilding = true;
@@ -36,7 +37,7 @@ stdenv.mkDerivation rec {
3637 description = "Free, open source, multi-platform ebook (ePub) editor";
3738 homepage = https://github.com/Sigil-Ebook/Sigil/;
3839 license = licenses.gpl3;
39− maintainers =[ maintainers.ramkromberg ];
40+ # currently unmaintained
4041 platforms = platforms.linux;
4142 };
4243}