2012-01-02 11:35:13 +00:00
|
|
|
{ stdenv, fetchurl, qt4, cmake }:
|
2010-07-04 20:55:50 +00:00
|
|
|
|
|
|
|
let
|
|
|
|
baseName = "libdbusmenu-qt";
|
2012-01-02 11:35:13 +00:00
|
|
|
v = "0.9.0";
|
2012-01-07 09:50:53 +00:00
|
|
|
homepage = "http://launchpad.net/${baseName}";
|
|
|
|
name = "${baseName}-${v}";
|
2010-07-04 20:55:50 +00:00
|
|
|
in
|
2011-07-07 20:03:36 +00:00
|
|
|
|
2012-01-07 09:50:53 +00:00
|
|
|
stdenv.mkDerivation {
|
|
|
|
inherit name;
|
2010-07-04 20:55:50 +00:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-01-07 09:50:53 +00:00
|
|
|
url = "${homepage}/trunk/${v}/+download/${name}.tar.bz2";
|
2012-01-02 11:35:13 +00:00
|
|
|
sha256 = "0xdicb3fmwgbyhc6cpcmdkwysdg18m5rcqc3izpwv6brq4aq4787";
|
2010-07-04 20:55:50 +00: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
|
|
|
|
|
|
|
cmakeFlags = "-DWITH_DOC=OFF";
|
2010-07-04 20:55:50 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Provides a Qt implementation of the DBusMenu spec";
|
2012-01-07 09:50:53 +00:00
|
|
|
inherit homepage;
|
2010-07-04 20:55:50 +00:00
|
|
|
maintainers = [ maintainers.urkud ];
|
|
|
|
inherit (qt4.meta) platforms;
|
|
|
|
};
|
|
|
|
}
|