@@ -1,22 +1,25 @@
1−{ stdenv, fetchurl, pkgconfig, directfb, zlib, libjpeg, xproto }:
1+{ stdenv, fetchFromGitHub, autoreconfHook, pkgconfig, directfb, zlib, libjpeg, xproto }:
22
33stdenv.mkDerivation rec {
4− name="directvnc-${version}";
5− version="0.7.5-test-051207";
4+ name = "directvnc-${version}";
5+ version = "0.7.7.2015-04-16";
66
7− src = fetchurl {
8− url = "http://directvnc-rev.googlecode.com/files/directvnc-${version}.tar.gz";
9− sha256 = "1is9hca8an1b1n8436wkv7s08ml5lb95f7h9vznx9br597f106w9";
7+ src = fetchFromGitHub {
8+ owner = "drinkmilk";
9+ repo = "directvnc";
10+ rev = "d336f586c5865da68873960092b7b5fbc9f8617a";
11+ sha256 = "16x7mr7x728qw7nbi6rqhrwsy73zsbpiz8pbgfzfl2aqhfdiz88b";
1012 };
1113
12− nativeBuildInputs = [ pkgconfig ];
13− buildInputs = [
14− directfb zlib libjpeg xproto
15− ];
16−
17− meta = {
14+ nativeBuildInputs = [ autoreconfHook pkgconfig ];
15+
16+ buildInputs = [ directfb zlib libjpeg xproto ];
17+
18+ meta = with stdenv.lib; {
1819 description = "DirectFB VNC client";
19− maintainers = [ stdenv.lib.maintainers.raskin ];
20− platforms = with stdenv.lib.platforms; linux;
20+ homepage = http://drinkmilk.github.io/directvnc/;
21+ license = licenses.gpl2;
22+ maintainers = [ maintainers.raskin ];
23+ platforms = platforms.linux;
2124 };
2225}