1 # This file contains the base package, some of which is compiled.
2 # Runtime glue to optinal runtime dependencies is in 'default.nix'.
6 , python, buildPythonPackage
7 , alembic, beautifulsoup4, chardet, lxml, Mako, pyenchant
8 , pyqt5_with_qtwebkit, pyxdg, sip_4, sqlalchemy, sqlalchemy-migrate
11 buildPythonPackage rec {
16 url = "https://get.openlp.org/${version}/OpenLP-${version}.tar.gz";
17 sha256 = "f63dcf5f1f8a8199bf55e806b44066ad920d26c9cf67ae432eb8cdd1e761fc30";
21 # FIXME: checks must be disabled because they are lacking the qt env.
22 # They fail like this, even if built and wrapped with all Qt and
23 # runtime dependencies:
25 # running install tests
26 # qt.qpa.plugin: Could not find the Qt platform plugin "xcb" in ""
27 # This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
29 # Available platform plugins are: wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx.
31 # See also https://discourse.nixos.org/t/qt-plugin-path-unset-in-test-phase/
33 #checkInputs = [ mock nose ];
34 nativeBuildInputs = [ qt5.qttools ];
35 propagatedBuildInputs = [
50 echo 'from vlc import *' > openlp/core/ui/media/vendor/vlc.py
53 dontWrapQtApps = true;
56 ( # use subshell because of cd
61 lconvert -i "$file" -o "$tdestdir/''${file%%ts}qm"
67 rm -r $out/${python.sitePackages}/tests
72 description = "Free church presentation software";
73 homepage = "https://openlp.org/";
74 downloadPage = "https://openlp.org/#downloads";
75 platforms = platforms.unix;
76 license = licenses.gpl2Only;
77 maintainers = [ maintainers.jorsn ];
80 OpenLP is a free church presentation software.
84 * Cross platform between Linux, Windows, OS X and FreeBSD
85 * Display songs, Bible verses, presentations, images, audio and video
86 * Control OpenLP remotely via the Android remote, iOS remote or mobile web browser
87 * Quickly and easily import songs from other popular presentation packages
88 * Easy enough to use to get up and running in less than 10 minutes
90 Remark: This pkg only supports sqlite dbs. If you wish to have support for
91 mysql or postgresql dbs, or Jenkins, please contact the maintainer.
93 Bugs which affect this software packaged in Nixpkgs:
95 1. The package must disable checks, because they are lacking the qt env.
96 (see pkg source and https://discourse.nixos.org/t/qt-plugin-path-unset-in-test-phase/)
97 2. There is a segfault on exit. Not a real problem, according to debug log, everything
98 shuts down correctly. Maybe related to https://forums.openlp.org/discussion/3620/crash-on-exit.
99 Plan: Wait for OpenLP-3, since it is already in beta 1
100 (2021-02-09; news: https://openlp.org/blog/).