bcb2f287e1
GitOrigin-RevId: d603719ec6e294f034936c0d0dc06f689d91b6c3
43 lines
775 B
Nix
43 lines
775 B
Nix
{ lib
|
|
, stdenv
|
|
, fetchFromGitHub
|
|
, cmake
|
|
, pkg-config
|
|
, libdrm
|
|
, libvncserver
|
|
, libxkbcommon
|
|
, libva
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "kmsvnc";
|
|
version = "0.0.6";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "isjerryxiao";
|
|
repo = "kmsvnc";
|
|
rev = "v${version}";
|
|
hash = "sha256-fOryY9pkeRXjfOq4ZcUKBrBDMWEljLChwXSAbeMNXhw=";
|
|
};
|
|
|
|
nativeBuildInputs = [
|
|
cmake
|
|
pkg-config
|
|
];
|
|
|
|
buildInputs = [
|
|
libdrm
|
|
libvncserver
|
|
libxkbcommon
|
|
libva
|
|
];
|
|
|
|
meta = with lib; {
|
|
description = "VNC server for DRM/KMS capable GNU/Linux devices";
|
|
homepage = "https://github.com/isjerryxiao/kmsvnc";
|
|
license = licenses.gpl3Only;
|
|
maintainers = with maintainers; [ nickcao ];
|
|
mainProgram = "kmsvnc";
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|