From 91293785e845ce1cc3b5531d61b7dc770251cbdf Mon Sep 17 00:00:00 2001 From: Boris Sukholitko Date: Fri, 15 Aug 2014 14:29:03 +0300 Subject: [PATCH] tigervnc: upgrade to 1.3.1 security release The source is on github archive now. Therefore switch to fetchurl. --- pkgs/tools/admin/tigervnc/default.nix | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/pkgs/tools/admin/tigervnc/default.nix b/pkgs/tools/admin/tigervnc/default.nix index 3d5abd074d96..7393336f2be4 100644 --- a/pkgs/tools/admin/tigervnc/default.nix +++ b/pkgs/tools/admin/tigervnc/default.nix @@ -4,22 +4,18 @@ , fixesproto, damageproto, xcmiscproto, bigreqsproto, randrproto, renderproto , fontsproto, videoproto, compositeproto, scrnsaverproto, resourceproto , libxkbfile, libXfont, libpciaccess, cmake, libjpeg_turbo, libXft, fltk, libXinerama -, xineramaproto, libXcursor, fetchsvn +, xineramaproto, libXcursor }: with stdenv.lib; stdenv.mkDerivation rec { - # Release version = "1.3.0"; - revision = 5129; - version = "r${toString revision}"; + version = "1.3.1"; name = "tigervnc-${version}"; - src = fetchsvn { - # Release url = "mirror://sourceforge/tigervnc/${version}/${name}.tar.gz"; - url = "https://tigervnc.svn.sourceforge.net/svnroot/tigervnc/trunk"; - rev = revision; - sha256 = "1qszlqr8z16iqkm05gbs0knj4fxc3bb6gjayky1abmf8pjazi0j8"; + src = fetchurl { + url = "https://github.com/TigerVNC/tigervnc/archive/v${version}.tar.gz"; + sha256 = "161bhibic777g47lbjgdnvjhkkdzxrzmxz9rw9sim3q0gcbp0vz3"; }; inherit fontDirectories;