2022-05-10 07:02:03 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, pkg-config, directfb, zlib, libjpeg, xorgproto }:
|
2009-11-05 21:10:51 +00:00
|
|
|
|
2019-08-13 21:52:01 +00:00
|
|
|
stdenv.mkDerivation {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "directvnc";
|
2017-12-10 20:43:39 +00:00
|
|
|
version = "0.7.7.2015-04-16";
|
2009-11-05 21:10:51 +00:00
|
|
|
|
2017-12-10 20:43:39 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "drinkmilk";
|
|
|
|
repo = "directvnc";
|
|
|
|
rev = "d336f586c5865da68873960092b7b5fbc9f8617a";
|
|
|
|
sha256 = "16x7mr7x728qw7nbi6rqhrwsy73zsbpiz8pbgfzfl2aqhfdiz88b";
|
2015-06-15 12:57:44 +00:00
|
|
|
};
|
2015-09-15 04:27:19 +00:00
|
|
|
|
2022-05-10 07:02:03 +00:00
|
|
|
patches = [
|
|
|
|
# Pull fix pending upstream inclusion for -fno-common toolchain
|
|
|
|
# support:
|
|
|
|
# https://github.com/drinkmilk/directvnc/pull/7
|
|
|
|
(fetchpatch {
|
|
|
|
name = "fno-common.patch";
|
|
|
|
url = "https://github.com/drinkmilk/directvnc/commit/e9c23d049bcf31d0097348d44391fe5fd9aad12b.patch";
|
|
|
|
sha256 = "1dnzr0dnx20w80r73j4a9n6mhbazjzlr5ps9xjj898924cg140zx";
|
|
|
|
})
|
|
|
|
];
|
|
|
|
|
2021-01-19 06:50:56 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
2017-12-10 20:43:39 +00:00
|
|
|
|
2018-12-31 03:40:47 +00:00
|
|
|
buildInputs = [ directfb zlib libjpeg xorgproto ];
|
2017-12-10 20:43:39 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2009-11-05 21:10:51 +00:00
|
|
|
description = "DirectFB VNC client";
|
2020-04-01 01:11:51 +00:00
|
|
|
homepage = "http://drinkmilk.github.io/directvnc/";
|
2017-12-10 20:43:39 +00:00
|
|
|
license = licenses.gpl2;
|
|
|
|
maintainers = [ maintainers.raskin ];
|
|
|
|
platforms = platforms.linux;
|
2009-11-05 21:10:51 +00:00
|
|
|
};
|
|
|
|
}
|