nixpkgs/pkgs/by-name/ne/neatvnc/package.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

74 lines
1.3 KiB
Nix
Raw Normal View History

{ lib
, stdenv
, fetchFromGitHub
, meson
, ninja
, pkg-config
, aml
, ffmpeg
, gnutls
, libjpeg_turbo
, mesa
, pixman
, zlib
2020-02-23 13:45:18 +00:00
}:
stdenv.mkDerivation rec {
pname = "neatvnc";
version = "0.8.1";
2020-02-23 13:45:18 +00:00
src = fetchFromGitHub {
owner = "any1";
repo = "neatvnc";
2020-02-23 13:45:18 +00:00
rev = "v${version}";
hash = "sha256-2gPDcFcu1kGIDubguL38Z0K+k7WGFf7DX8yZteedcNg=";
2020-02-23 13:45:18 +00:00
};
2024-11-03 10:29:36 +00:00
patches = [
# Fix build with latest ffmpeg
# Backport of https://github.com/any1/neatvnc/commit/7e008743bf872598b4fcdb2a821041064ce5dd01
# FIXME: remove in next update
./fix-ffmpeg.patch
];
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; {
2020-02-23 13:45:18 +00:00
description = "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
'';
homepage = "https://github.com/any1/neatvnc";
2020-07-28 12:31:27 +00: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; [ nickcao ];
2020-02-23 13:45:18 +00:00
};
}