mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-22 05:33:23 +00:00
edb5811567
Diff: https://github.com/any1/neatvnc/compare/v0.6.0...v0.7.0 Changelog: https://github.com/any1/neatvnc/releases/tag/v0.7.0
67 lines
1.1 KiB
Nix
67 lines
1.1 KiB
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, meson
|
|
, ninja
|
|
, pkg-config
|
|
, aml
|
|
, ffmpeg
|
|
, gnutls
|
|
, libjpeg_turbo
|
|
, mesa
|
|
, pixman
|
|
, zlib
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "neatvnc";
|
|
version = "0.7.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "any1";
|
|
repo = pname;
|
|
rev = "v${version}";
|
|
sha256 = "sha256-R+PvD7E/z+Gc7h2y0pUYaCkzfgpxzwToOr4pKSrOnxU=";
|
|
};
|
|
|
|
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";
|
|
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;
|
|
changelog = "https://github.com/any1/neatvnc/releases/tag/v${version}";
|
|
license = licenses.isc;
|
|
platforms = platforms.linux;
|
|
maintainers = with maintainers; [ nickcao ];
|
|
};
|
|
}
|