15 stdenv.mkDerivation rec {
16 pname = "libvncserver";
19 outputs = [ "out" "dev" ];
21 src = fetchFromGitHub {
23 repo = "libvncserver";
24 rev = "LibVNCServer-${version}";
25 sha256 = "sha256-gQT/M2u4nWQ0MfO2gWAqY0ZJc7V9eGczGzcsxKmG4H8=";
37 ] ++ lib.optionals stdenv.isLinux [
39 ] ++ lib.optionals stdenv.isDarwin [
43 propagatedBuildInputs = [
48 description = "VNC server library";
49 homepage = "https://libvnc.github.io/";
50 license = licenses.gpl2Plus;
51 maintainers = with maintainers; [ raskin ];
52 platforms = platforms.unix;