2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchurl, qt4, cmake }:
|
2010-07-04 21:55:50 +01:00
|
|
|
|
|
|
|
let
|
|
|
|
baseName = "libdbusmenu-qt";
|
2013-05-25 09:44:53 +01:00
|
|
|
v = "0.9.2";
|
2018-07-20 02:12:04 +01:00
|
|
|
homepage = "https://launchpad.net/${baseName}";
|
2012-01-07 09:50:53 +00:00
|
|
|
name = "${baseName}-${v}";
|
2010-07-04 21:55:50 +01:00
|
|
|
in
|
2011-07-07 21:03:36 +01:00
|
|
|
|
2012-01-07 09:50:53 +00:00
|
|
|
stdenv.mkDerivation {
|
|
|
|
inherit name;
|
2010-07-04 21:55:50 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-01-07 09:50:53 +00:00
|
|
|
url = "${homepage}/trunk/${v}/+download/${name}.tar.bz2";
|
2013-05-25 09:44:53 +01:00
|
|
|
sha256 = "1v0ri5g9xw2z64ik0kx0ra01v8rpjn2kxprrxppkls1wvav1qv5f";
|
2010-07-04 21:55:50 +01:00
|
|
|
};
|
|
|
|
|
2012-01-02 11:35:13 +00:00
|
|
|
buildInputs = [ qt4 ];
|
2012-12-28 18:20:09 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
2012-01-02 11:35:13 +00:00
|
|
|
|
2019-10-26 16:39:27 +01:00
|
|
|
cmakeFlags = [ "-DWITH_DOC=OFF" ];
|
2018-07-20 02:12:04 +01:00
|
|
|
|
2021-01-12 11:50:23 +00:00
|
|
|
dontWrapQtApps = true;
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2010-07-04 21:55:50 +01:00
|
|
|
description = "Provides a Qt implementation of the DBusMenu spec";
|
2012-01-07 09:50:53 +00:00
|
|
|
inherit homepage;
|
2010-07-04 21:55:50 +01:00
|
|
|
inherit (qt4.meta) platforms;
|
2018-10-18 20:47:12 +01:00
|
|
|
license = licenses.lgpl2;
|
2010-07-04 21:55:50 +01:00
|
|
|
};
|
|
|
|
}
|