1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 13:41:26 +00:00
nixpkgs/pkgs/development/libraries/libdbusmenu-qt/default.nix
2013-05-25 12:01:27 +03:00

30 lines
660 B
Nix

{ stdenv, fetchurl, qt4, cmake }:
let
baseName = "libdbusmenu-qt";
v = "0.9.2";
homepage = "http://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";
meta = with stdenv.lib; {
description = "Provides a Qt implementation of the DBusMenu spec";
inherit homepage;
maintainers = [ maintainers.urkud ];
inherit (qt4.meta) platforms;
};
}