diff --git a/pkgs/development/libraries/libdbusmenu-qt/default.nix b/pkgs/development/libraries/libdbusmenu-qt/default.nix new file mode 100644 index 000000000000..1a9d66974388 --- /dev/null +++ b/pkgs/development/libraries/libdbusmenu-qt/default.nix @@ -0,0 +1,23 @@ +{ stdenv, fetchurl, qt4, cmake }: + +let + baseName = "libdbusmenu-qt"; + v = "0.5.1"; +in +stdenv.mkDerivation rec { + name = "${baseName}-${v}"; + + src = fetchurl { + url = "http://launchpad.net/${baseName}/trunk/${v}/+download/${name}.tar.bz2"; + sha256 = "0ipz1f08d2wgg18l12wssv9lhm66xhj31a1dbikg2rzw7c6bvjvk"; + }; + + buildInputs = [ cmake qt4 ]; + + meta = with stdenv.lib; { + description = "Provides a Qt implementation of the DBusMenu spec"; + homepage = http://people.canonical.com/~agateau/dbusmenu/; + maintainers = [ maintainers.urkud ]; + inherit (qt4.meta) platforms; + }; +} diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index fa43a42e980b..ef97816df423 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4003,6 +4003,10 @@ let libcCross = assert crossSystem != null; libcCrossChooser crossSystem.libc; + libdbusmenu_qt = makeOverridable (import ../development/libraries/libdbusmenu-qt) { + inherit stdenv fetchurl qt4 cmake; + }; + libdwg = import ../development/libraries/libdwg { inherit stdenv fetchurl; };