Files
Ihar Hrachyshka 567e8dfd8e treewide: clean up 'meta = with' pattern
This commit was created by a combination of scripts and tools:
- an ast-grep script to prefix things in meta with `lib.`,
- a modified nixf-diagnose / nixf combination to remove unused `with
lib;`, and
- regular nixfmt.

Co-authored-by: Wolfgang Walther <walther@technowledgy.de>
2025-12-10 18:09:49 +01:00

40 lines
878 B
Nix

{
stdenv,
lib,
fetchFromGitHub,
qmake,
wrapQtAppsHook,
}:
stdenv.mkDerivation rec {
pname = "qtdbusextended";
version = "0.0.3";
src = fetchFromGitHub {
owner = "nemomobile";
repo = "qtdbusextended";
rev = version;
sha256 = "sha256-tUp7OhNBXwomR2tO4UOaR0vJQ3GTirMk/hRl1cMk61o=";
};
postPatch = ''
substituteInPlace src/src.pro \
--replace '$$[QT_INSTALL_LIBS]' "$out/lib" \
--replace '$$[QT_INSTALL_HEADERS]' "$out/include" \
--replace '$$[QMAKE_MKSPECS]' "$out/mkspecs"
'';
nativeBuildInputs = [
qmake
wrapQtAppsHook
];
meta = {
description = "Qt provides several classes for DBus communication";
homepage = "https://github.com/nemomobile/qtdbusextended";
license = lib.licenses.lgpl2Plus;
platforms = lib.platforms.linux;
maintainers = with lib.maintainers; [ wineee ];
};
}