nixpkgs/pkgs/development/libraries/neatvnc/default.nix

35 lines
985 B
Nix
Raw Normal View History

{ lib, stdenv, fetchFromGitHub, meson, pkg-config, ninja
2020-07-28 13:31:27 +01:00
, pixman, gnutls, libdrm, libjpeg_turbo, zlib, aml
2020-02-23 13:45:18 +00:00
}:
stdenv.mkDerivation rec {
pname = "neatvnc";
2020-12-06 18:22:15 +00:00
version = "0.4.0";
2020-02-23 13:45:18 +00:00
src = fetchFromGitHub {
owner = "any1";
repo = pname;
rev = "v${version}";
2020-12-06 18:22:15 +00:00
sha256 = "1wpq1vyjqra877vwc3n4i0c1dyhmabyn993cslf1k142ikyc0a8w";
2020-02-23 13:45:18 +00:00
};
nativeBuildInputs = [ meson pkg-config ninja ];
2020-07-28 13:31:27 +01:00
buildInputs = [ pixman gnutls libdrm libjpeg_turbo zlib aml ];
meta = with lib; {
2020-02-23 13:45:18 +00:00
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-07-28 13:31:27 +01:00
changelog = "https://github.com/any1/neatvnc/releases/tag/v${version}";
2020-02-23 13:45:18 +00:00
license = licenses.isc;
platforms = platforms.linux;
maintainers = with maintainers; [ primeos ];
};
}