From a5d1d871d7da6776973c01e2073d0389dab805c6 Mon Sep 17 00:00:00 2001 From: "Yury G. Kudryashov" Date: Sat, 7 Jan 2012 09:50:53 +0000 Subject: [PATCH] libdbusmenu-qt: meta svn path=/nixpkgs/trunk/; revision=31394 --- pkgs/development/libraries/libdbusmenu-qt/default.nix | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/pkgs/development/libraries/libdbusmenu-qt/default.nix b/pkgs/development/libraries/libdbusmenu-qt/default.nix index 4c12880f5578..aeb9331c8ada 100644 --- a/pkgs/development/libraries/libdbusmenu-qt/default.nix +++ b/pkgs/development/libraries/libdbusmenu-qt/default.nix @@ -3,13 +3,15 @@ let baseName = "libdbusmenu-qt"; v = "0.9.0"; + homepage = "http://launchpad.net/${baseName}"; + name = "${baseName}-${v}"; in -stdenv.mkDerivation rec { - name = "${baseName}-${v}"; +stdenv.mkDerivation { + inherit name; src = fetchurl { - url = "http://launchpad.net/${baseName}/trunk/${v}/+download/${name}.tar.bz2"; + url = "${homepage}/trunk/${v}/+download/${name}.tar.bz2"; sha256 = "0xdicb3fmwgbyhc6cpcmdkwysdg18m5rcqc3izpwv6brq4aq4787"; }; @@ -20,7 +22,7 @@ stdenv.mkDerivation rec { meta = with stdenv.lib; { description = "Provides a Qt implementation of the DBusMenu spec"; - homepage = http://people.canonical.com/~agateau/dbusmenu/; + inherit homepage; maintainers = [ maintainers.urkud ]; inherit (qt4.meta) platforms; };