Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
38 lines
858 B
Nix
38 lines
858 B
Nix
{ stdenv
|
|
, lib
|
|
, fetchFromGitHub
|
|
, qmake
|
|
, wrapQtAppsHook
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "qtdbusextended";
|
|
version = "0.0.3";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "nemomobile";
|
|
repo = pname;
|
|
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 = with lib; {
|
|
description = "Qt provides several classes for DBus communication";
|
|
homepage = "https://github.com/nemomobile/qtdbusextended";
|
|
license = licenses.lgpl2Plus;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ rewine ];
|
|
};
|
|
}
|