Use version variables for easier upgrading

This commit is contained in:
Benno Fünfstück
2014-01-14 21:33:11 +01:00
parent 9c4a58515d
commit 9d6ab791af
4 changed files with 19 additions and 15 deletions

View File

@@ -1,9 +1,11 @@
{fetchurl, stdenv, gupnp, gssdp, pkgconfig, gtk3, libuuid, intltool, gupnp_av, gnome3, makeWrapper}:
stdenv.mkDerivation rec {
name = "gupnp-tools-0.6";
name = "gupnp-tools-${version}";
majorVersion = "0.8";
version = "${majorVersion}.8";
src = fetchurl {
url = mirror://gnome/sources/gupnp-tools/0.8/gupnp-tools-0.8.8.tar.xz;
url = "mirror://gnome/sources/gupnp-tools/${majorVersion}/gupnp-tools-${version}.tar.xz";
sha256 = "160dgh9pmlb85qfavwqz46lqawpshs8514bx2b57f9rbiny8kbij";
};