1 { lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, pkg-config, directfb, zlib, libjpeg, xorgproto }:
5 version = "0.7.7.2015-04-16";
7 src = fetchFromGitHub {
10 rev = "d336f586c5865da68873960092b7b5fbc9f8617a";
11 sha256 = "16x7mr7x728qw7nbi6rqhrwsy73zsbpiz8pbgfzfl2aqhfdiz88b";
15 # Pull fix pending upstream inclusion for -fno-common toolchain
17 # https://github.com/drinkmilk/directvnc/pull/7
19 name = "fno-common.patch";
20 url = "https://github.com/drinkmilk/directvnc/commit/e9c23d049bcf31d0097348d44391fe5fd9aad12b.patch";
21 sha256 = "1dnzr0dnx20w80r73j4a9n6mhbazjzlr5ps9xjj898924cg140zx";
25 nativeBuildInputs = [ autoreconfHook pkg-config ];
27 buildInputs = [ directfb zlib libjpeg xorgproto ];
30 description = "DirectFB VNC client";
31 homepage = "http://drinkmilk.github.io/directvnc/";
32 license = licenses.gpl2Plus;
33 maintainers = [ maintainers.raskin ];
34 platforms = platforms.linux;