2018-10-19 21:07:13 +01:00
|
|
|
{ stdenv, fetchgit, cmake, qtbase }:
|
2015-01-19 17:06:45 +00:00
|
|
|
|
2018-10-19 21:07:13 +01:00
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "libdbusmenu-qt-${version}";
|
|
|
|
version = "0.9.3+16";
|
2015-01-19 17:06:45 +00:00
|
|
|
|
2018-10-19 21:07:13 +01:00
|
|
|
src = fetchgit {
|
|
|
|
url = https://git.launchpad.net/ubuntu/+source/libdbusmenu-qt;
|
|
|
|
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 ];
|
|
|
|
|
|
|
|
cmakeFlags = "-DWITH_DOC=OFF";
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
2017-08-02 22:50: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
|
|
|
};
|
|
|
|
}
|