forked from mirrors/nixpkgs
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:
parent
ad662be949
commit
6d1e1508e4
|
@ -1,20 +1,52 @@
|
||||||
{ lib, stdenv, fetchFromGitHub, meson, pkg-config, ninja
|
{ lib
|
||||||
, pixman, gnutls, libdrm, libjpeg_turbo, zlib, aml, mesa, ffmpeg
|
, stdenv
|
||||||
|
, fetchFromGitHub
|
||||||
|
, meson
|
||||||
|
, ninja
|
||||||
|
, pkg-config
|
||||||
|
, aml
|
||||||
|
, ffmpeg
|
||||||
|
, gnutls
|
||||||
|
, libjpeg_turbo
|
||||||
|
, mesa
|
||||||
|
, pixman
|
||||||
|
, zlib
|
||||||
}:
|
}:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "neatvnc";
|
pname = "neatvnc";
|
||||||
version = "0.5.4";
|
version = "0.6.0";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
owner = "any1";
|
owner = "any1";
|
||||||
repo = pname;
|
repo = pname;
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
sha256 = "sha256-IZUCNHhlDhq0KlUjkp3Yh5ysJsThlGw1FLHSaFe4Z0Q=";
|
sha256 = "sha256-3hNdgfAJGJkMXdB86+u3bKwrvXoMei1YCFXDG4ObkU4=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ meson pkg-config ninja ];
|
strictDeps = true;
|
||||||
buildInputs = [ pixman gnutls libdrm libjpeg_turbo zlib aml mesa ffmpeg ];
|
|
||||||
|
nativeBuildInputs = [
|
||||||
|
meson
|
||||||
|
ninja
|
||||||
|
pkg-config
|
||||||
|
];
|
||||||
|
|
||||||
|
buildInputs = [
|
||||||
|
aml
|
||||||
|
ffmpeg
|
||||||
|
gnutls
|
||||||
|
libjpeg_turbo
|
||||||
|
mesa
|
||||||
|
pixman
|
||||||
|
zlib
|
||||||
|
];
|
||||||
|
|
||||||
|
mesonFlags = [
|
||||||
|
(lib.mesonBool "tests" true)
|
||||||
|
];
|
||||||
|
|
||||||
|
doCheck = true;
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description = "A VNC server library";
|
description = "A VNC server library";
|
||||||
|
|
Loading…
Reference in a new issue