2020-04-24 23:36:52 +00:00
|
|
|
{ stdenv, fetchFromGitHub, meson, pkg-config, ninja
|
2020-08-20 17:08:02 +00:00
|
|
|
, pixman, gnutls, libdrm, libjpeg_turbo, zlib, aml
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "neatvnc";
|
2020-10-07 09:15:18 +00:00
|
|
|
version = "0.3.2";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "any1";
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2020-10-07 09:15:18 +00:00
|
|
|
sha256 = "1h9yc3krhjlyapsjaf6y76546rkqk7ygcjfgm0a9bc0cfvmlb5az";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ meson pkg-config ninja ];
|
2020-08-20 17:08:02 +00:00
|
|
|
buildInputs = [ pixman gnutls libdrm libjpeg_turbo zlib aml ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "A VNC server library";
|
|
|
|
longDescription = ''
|
|
|
|
This is a liberally licensed VNC server library that's intended to be
|
|
|
|
fast and neat. Goals:
|
|
|
|
- Speed
|
|
|
|
- Clean interface
|
|
|
|
- Interoperability with the Freedesktop.org ecosystem
|
|
|
|
'';
|
|
|
|
inherit (src.meta) homepage;
|
2020-08-20 17:08:02 +00:00
|
|
|
changelog = "https://github.com/any1/neatvnc/releases/tag/v${version}";
|
2020-04-24 23:36:52 +00:00
|
|
|
license = licenses.isc;
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ primeos ];
|
|
|
|
};
|
|
|
|
}
|