Merge pull request #262071 from NickCao/kmsvnc

kmsvnc: init at 0.0.5

authored by Nick Cao and committed by GitHub dfd918ab 943552b4

+43
+43
pkgs/by-name/km/kmsvnc/package.nix
··· 1 + { lib 2 + , stdenv 3 + , fetchFromGitHub 4 + , cmake 5 + , pkg-config 6 + , libdrm 7 + , libvncserver 8 + , libxkbcommon 9 + , libva 10 + }: 11 + 12 + stdenv.mkDerivation rec { 13 + pname = "kmsvnc"; 14 + version = "0.0.5"; 15 + 16 + src = fetchFromGitHub { 17 + owner = "isjerryxiao"; 18 + repo = "kmsvnc"; 19 + rev = "v${version}"; 20 + hash = "sha256-Dz1y4t8u9/rnmOiYMWMq6aEq3kV47uiIK7K4DSvjZNc="; 21 + }; 22 + 23 + nativeBuildInputs = [ 24 + cmake 25 + pkg-config 26 + ]; 27 + 28 + buildInputs = [ 29 + libdrm 30 + libvncserver 31 + libxkbcommon 32 + libva 33 + ]; 34 + 35 + meta = with lib; { 36 + description = "A VNC server for DRM/KMS capable GNU/Linux devices"; 37 + homepage = "https://github.com/isjerryxiao/kmsvnc"; 38 + license = licenses.gpl3Only; 39 + maintainers = with maintainers; [ nickcao ]; 40 + mainProgram = "kmsvnc"; 41 + platforms = platforms.linux; 42 + }; 43 + }