about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/libraries/libdbusmenu-qt/qt-5.5.nix
blob: 7219bcbdeb5ac7e3012482358c04497ac932bbff (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
{ lib, stdenv, fetchgit, cmake, qtbase }:

stdenv.mkDerivation rec {
  pname = "libdbusmenu-qt";
  version = "0.9.3+16";

  src = fetchgit {
    url = "https://git.launchpad.net/ubuntu/+source/libdbusmenu-qt";
    rev = "import/${version}.04.20160218-1";
    sha256 = "039yvklhbmfbcynrbqq9n5ywmj8bjfslnkzcnwpzyhnxdzb6yxlx";
  };

  buildInputs = [ qtbase ];
  nativeBuildInputs = [ cmake ];

  cmakeFlags = [ "-DWITH_DOC=OFF" ];

  dontWrapQtApps = true;

  meta = with lib; {
    homepage = "https://launchpad.net/libdbusmenu-qt";
    description = "Provides a Qt implementation of the DBusMenu spec";
    maintainers = [ maintainers.ttuegel ];
    inherit (qtbase.meta) platforms;
    license = licenses.lgpl2;
  };
}