diff options
Diffstat (limited to 'pkgs/development/libraries/libdbusmenu-qt/default.nix')
-rw-r--r-- | pkgs/development/libraries/libdbusmenu-qt/default.nix | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/pkgs/development/libraries/libdbusmenu-qt/default.nix b/pkgs/development/libraries/libdbusmenu-qt/default.nix index 4c12880f5578d..aeb9331c8ada0 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; }; |