Some checks failed
Periodic Merges (6h) / master → staging-nixos (push) Failing after 12m50s
Periodic Merges (6h) / master → staging-next (push) Failing after 12m54s
Periodic Merges (24h) / merge-base(master,staging) → haskell-updates (push) Failing after 11m54s
Periodic Merges (6h) / staging-next → staging (push) Failing after 12m13s
Periodic Merges (24h) / staging-next-25.05 → staging-25.05 (push) Failing after 13m24s
Periodic Merges (24h) / release-25.05 → staging-next-25.05 (push) Failing after 14m28s
40 lines
968 B
Nix
40 lines
968 B
Nix
{
|
|
mkDerivation,
|
|
lib,
|
|
fetchFromGitLab,
|
|
qmake,
|
|
qtbase,
|
|
}:
|
|
|
|
mkDerivation rec {
|
|
pname = "nemo-qml-plugin-dbus";
|
|
version = "2.1.24";
|
|
|
|
src = fetchFromGitLab {
|
|
domain = "git.sailfishos.org";
|
|
owner = "mer-core";
|
|
repo = "nemo-qml-plugin-dbus";
|
|
rev = version;
|
|
sha256 = "1ilg929456d3k0xkvxa5r4k7i4kkw9i8kgah5xx1yq0d9wka0l77";
|
|
};
|
|
|
|
nativeBuildInputs = [ qmake ];
|
|
|
|
postPatch = ''
|
|
substituteInPlace dbus.pro --replace ' tests' ""
|
|
substituteInPlace src/nemo-dbus/nemo-dbus.pro \
|
|
--replace /usr $out \
|
|
--replace '$$[QT_INSTALL_LIBS]' $out'/lib'
|
|
substituteInPlace src/plugin/plugin.pro \
|
|
--replace '$$[QT_INSTALL_QML]' $out'/${qtbase.qtQmlPrefix}'
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "Nemo DBus plugin for qml";
|
|
homepage = "https://git.sailfishos.org/mer-core/nemo-qml-plugin-dbus/";
|
|
license = licenses.lgpl2Only;
|
|
maintainers = [ maintainers.Thra11 ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|