From 0642ef493535d253c87c991e9f4e20430ad21adc Mon Sep 17 00:00:00 2001 From: "Yury G. Kudryashov" Date: Sun, 4 Jul 2010 20:55:50 +0000 Subject: [PATCH] Add libdbusmenu-qt svn path=/nixpkgs/trunk/; revision=22450 --- .../libraries/libdbusmenu-qt/default.nix | 23 +++++++++++++++++++ pkgs/top-level/all-packages.nix | 4 ++++ 2 files changed, 27 insertions(+) create mode 100644 pkgs/development/libraries/libdbusmenu-qt/default.nix 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; };