Author: urkud
Date: 2010-07-04 20:55:50 +0000 (Sun, 04 Jul 2010)
New Revision: 22450

You can view the changes in this commit at:
   https://svn.nixos.org/viewvc/nix?rev=22450&view=rev

Added:
   nixpkgs/trunk/pkgs/development/libraries/libdbusmenu-qt/
   nixpkgs/trunk/pkgs/development/libraries/libdbusmenu-qt/default.nix
Modified:
   nixpkgs/trunk/pkgs/top-level/all-packages.nix

Log:
Add libdbusmenu-qt

Changes:

Added: nixpkgs/trunk/pkgs/development/libraries/libdbusmenu-qt/default.nix
===================================================================
--- nixpkgs/trunk/pkgs/development/libraries/libdbusmenu-qt/default.nix         
                (rev 0)
+++ nixpkgs/trunk/pkgs/development/libraries/libdbusmenu-qt/default.nix 
2010-07-04 20:55:50 UTC (rev 22450)
@@ -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;
+  };
+}

Modified: nixpkgs/trunk/pkgs/top-level/all-packages.nix
===================================================================
--- nixpkgs/trunk/pkgs/top-level/all-packages.nix       2010-07-04 11:10:58 UTC 
(rev 22449)
+++ nixpkgs/trunk/pkgs/top-level/all-packages.nix       2010-07-04 20:55:50 UTC 
(rev 22450)
@@ -4003,6 +4003,10 @@
 
   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;
   };

_______________________________________________
nix-commits mailing list
nix-comm...@cs.uu.nl
http://mail.cs.uu.nl/mailman/listinfo/nix-commits

Reply via email to