nixpkgs/pkgs/development/libraries/libdbusmenu-qt/default.nix

30 lines
652 B
Nix
Raw Normal View History

{ stdenv, fetchurl, qt4, cmake }:
let
baseName = "libdbusmenu-qt";
2013-05-25 01:44:53 -07:00
v = "0.9.2";
2018-07-19 18:12:04 -07:00
homepage = "https://launchpad.net/${baseName}";
name = "${baseName}-${v}";
in
stdenv.mkDerivation {
inherit name;
src = fetchurl {
url = "${homepage}/trunk/${v}/+download/${name}.tar.bz2";
2013-05-25 01:44:53 -07:00
sha256 = "1v0ri5g9xw2z64ik0kx0ra01v8rpjn2kxprrxppkls1wvav1qv5f";
};
buildInputs = [ qt4 ];
nativeBuildInputs = [ cmake ];
2019-10-26 08:39:27 -07:00
cmakeFlags = [ "-DWITH_DOC=OFF" ];
2018-07-19 18:12:04 -07:00
meta = with stdenv.lib; {
description = "Provides a Qt implementation of the DBusMenu spec";
inherit homepage;
inherit (qt4.meta) platforms;
2018-10-18 12:47:12 -07:00
license = licenses.lgpl2;
};
}