1 { lib, mkDerivation, fetchFromGitHub, cmake, pkg-config, makeWrapper
2 , boost, xercesc, qtbase, qttools, qtwebengine, qtxmlpatterns
10 src = fetchFromGitHub {
12 owner = "Sigil-Ebook";
14 sha256 = "sha256-d54N6Kb+xLMxlRwqxqWXnFGQCvUmSy9z6j86aV+VioU=";
17 pythonPath = with python3Packages; [ lxml ];
19 nativeBuildInputs = [ cmake pkg-config makeWrapper ];
22 boost xercesc qtbase qttools qtwebengine qtxmlpatterns
27 sed -i '/^QTLIB_DIR=/ d' src/Resource_Files/bash/sigil-sh_install
30 dontWrapQtApps = true;
33 wrapProgram "$out/bin/sigil" \
34 --prefix PYTHONPATH : $PYTHONPATH \
39 description = "Free, open source, multi-platform ebook (ePub) editor";
40 homepage = "https://github.com/Sigil-Ebook/Sigil/";
41 license = licenses.gpl3;
42 # currently unmaintained
43 platforms = platforms.linux;
44 mainProgram = "sigil";