diff --git a/pkgs/desktops/gnome-2.28/platform/libgnomecups/default.nix b/pkgs/desktops/gnome-2.28/platform/libgnomecups/default.nix index ec276578cb6..0521ce9058f 100644 --- a/pkgs/desktops/gnome-2.28/platform/libgnomecups/default.nix +++ b/pkgs/desktops/gnome-2.28/platform/libgnomecups/default.nix @@ -1,13 +1,16 @@ {stdenv, fetchurl, pkgconfig, gtk, gettext, libxml2, intltool, libart_lgpl }: -stdenv.mkDerivation { +let name = "libgnomecups-0.2.3"; - +in +stdenv.mkDerivation { + inherit name; + src = fetchurl { - url = mirror://gnome/sources/libgnomecups/0.2/libgnomecups-0.2.3.tar.bz2; + url = "mirror://gnome/sources/libgnomecups/0.2/${name}.tar.bz2"; sha256 = "0a8xdaxzz2wc0n1fjcav65093gixzyac3948l8cxx1mk884yhc71"; }; - + buildInputs = [ pkgconfig gtk gettext intltool libart_lgpl ]; propagatedBuildInputs = [ libxml2 ]; }