neatvnc: 0.5.4 -> 0.6.0, enable tests

Diff: https://github.com/any1/neatvnc/compare/v0.5.4...v0.6.0

Changelog: https://github.com/any1/neatvnc/releases/tag/v0.6.0
This commit is contained in:
Nick Cao 2023-01-25 09:04:23 +08:00
parent ad662be949
commit 6d1e1508e4
No known key found for this signature in database

View file

@ -1,20 +1,52 @@
{ lib, stdenv, fetchFromGitHub, meson, pkg-config, ninja
, pixman, gnutls, libdrm, libjpeg_turbo, zlib, aml, mesa, ffmpeg
{ lib
, stdenv
, fetchFromGitHub
, meson
, ninja
, pkg-config
, aml
, ffmpeg
, gnutls
, libjpeg_turbo
, mesa
, pixman
, zlib
}:
stdenv.mkDerivation rec {
pname = "neatvnc";
version = "0.5.4";
version = "0.6.0";
src = fetchFromGitHub {
owner = "any1";
repo = pname;
rev = "v${version}";
sha256 = "sha256-IZUCNHhlDhq0KlUjkp3Yh5ysJsThlGw1FLHSaFe4Z0Q=";
sha256 = "sha256-3hNdgfAJGJkMXdB86+u3bKwrvXoMei1YCFXDG4ObkU4=";
};
nativeBuildInputs = [ meson pkg-config ninja ];
buildInputs = [ pixman gnutls libdrm libjpeg_turbo zlib aml mesa ffmpeg ];
strictDeps = true;
nativeBuildInputs = [
meson
ninja
pkg-config
];
buildInputs = [
aml
ffmpeg
gnutls
libjpeg_turbo
mesa
pixman
zlib
];
mesonFlags = [
(lib.mesonBool "tests" true)
];
doCheck = true;
meta = with lib; {
description = "A VNC server library";