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

stdenv.mkDerivation rec {
  name = "libdbusmenu-qt-${version}";
  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";

  meta = with stdenv.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;
  };
}