2021-01-21 17:00:13 +00:00
|
|
|
{ lib, stdenv, fetchgit, cmake, qtbase }:
|
2015-01-19 17:06:45 +00:00
|
|
|
|
2018-10-19 21:07:13 +01:00
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "libdbusmenu-qt";
|
2018-10-19 21:07:13 +01:00
|
|
|
version = "0.9.3+16";
|
2015-01-19 17:06:45 +00:00
|
|
|
|
2018-10-19 21:07:13 +01:00
|
|
|
src = fetchgit {
|
2020-04-01 02:11:51 +01:00
|
|
|
url = "https://git.launchpad.net/ubuntu/+source/libdbusmenu-qt";
|
2018-10-19 21:07:13 +01:00
|
|
|
rev = "import/${version}.04.20160218-1";
|
|
|
|
sha256 = "039yvklhbmfbcynrbqq9n5ywmj8bjfslnkzcnwpzyhnxdzb6yxlx";
|
2015-01-19 17:06:45 +00:00
|
|
|
};
|
|
|
|
|
2015-09-27 16:18:12 +01:00
|
|
|
buildInputs = [ qtbase ];
|
2015-01-19 17:06:45 +00:00
|
|
|
nativeBuildInputs = [ cmake ];
|
|
|
|
|
2019-10-26 16:39:27 +01:00
|
|
|
cmakeFlags = [ "-DWITH_DOC=OFF" ];
|
2015-01-19 17:06:45 +00:00
|
|
|
|
2021-01-12 11:50:23 +00:00
|
|
|
dontWrapQtApps = true;
|
|
|
|
|
2021-01-21 17:00:13 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://launchpad.net/libdbusmenu-qt";
|
2015-01-19 17:06:45 +00:00
|
|
|
description = "Provides a Qt implementation of the DBusMenu spec";
|
|
|
|
maintainers = [ maintainers.ttuegel ];
|
2015-09-28 09:35:44 +01:00
|
|
|
inherit (qtbase.meta) platforms;
|
2018-10-18 20:47:12 +01:00
|
|
|
license = licenses.lgpl2;
|
2015-01-19 17:06:45 +00:00
|
|
|
};
|
|
|
|
}
|