summary refs log tree commit diff
path: root/pkgs/development/libraries/libdbusmenu-qt/default.nix
blob: 6b4be0db41443c48959991d27c1ec11dc5efc282 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
{ stdenv, fetchurl, qt4, cmake }:

let
  baseName = "libdbusmenu-qt";
  v = "0.9.2";
  homepage = "https://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;
    inherit (qt4.meta) platforms;
    license = licenses.lgpl2;
  };
}