2021-02-05 17:12:51 +00:00
|
|
|
{ lib, stdenv, fetchurl, qt4, cmake }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
baseName = "libdbusmenu-qt";
|
|
|
|
v = "0.9.2";
|
|
|
|
homepage = "https://launchpad.net/${baseName}";
|
|
|
|
name = "${baseName}-${v}";
|
|
|
|
in
|
|
|
|
|
|
|
|
stdenv.mkDerivation {
|
|
|
|
inherit name;
|
|
|
|
|
|
|
|
src = fetchurl {
|
|
|
|
url = "${homepage}/trunk/${v}/+download/${name}.tar.bz2";
|
|
|
|
sha256 = "1v0ri5g9xw2z64ik0kx0ra01v8rpjn2kxprrxppkls1wvav1qv5f";
|
|
|
|
};
|
|
|
|
|
|
|
|
buildInputs = [ qt4 ];
|
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
|
|
|
cmakeFlags = [ "-DWITH_DOC=OFF" ];
|
|
|
|
|
2021-02-19 19:06:45 +00:00
|
|
|
dontWrapQtApps = true;
|
|
|
|
|
2021-02-05 17:12:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Provides a Qt implementation of the DBusMenu spec";
|
|
|
|
inherit homepage;
|
|
|
|
inherit (qt4.meta) platforms;
|
|
|
|
license = licenses.lgpl2;
|
|
|
|
};
|
|
|
|
}
|