1 { mkDerivation, lib, fetchFromGitLab, qmake, qtbase }:
4 pname = "nemo-qml-plugin-dbus";
7 src = fetchFromGitLab {
8 domain = "git.sailfishos.org";
10 repo = "nemo-qml-plugin-dbus";
12 sha256 = "1ilg929456d3k0xkvxa5r4k7i4kkw9i8kgah5xx1yq0d9wka0l77";
15 nativeBuildInputs = [ qmake ];
18 substituteInPlace dbus.pro --replace ' tests' ""
19 substituteInPlace src/nemo-dbus/nemo-dbus.pro \
21 --replace '$$[QT_INSTALL_LIBS]' $out'/lib'
22 substituteInPlace src/plugin/plugin.pro \
23 --replace '$$[QT_INSTALL_QML]' $out'/${qtbase.qtQmlPrefix}'
27 description = "Nemo DBus plugin for qml";
28 homepage = "https://git.sailfishos.org/mer-core/nemo-qml-plugin-dbus/";
29 license = licenses.lgpl2Only;
30 maintainers = [ maintainers.Thra11 ];
31 platforms = platforms.linux;