nixpkgs/pkgs/by-name/km/kmsvnc/package.nix
Alexis Hildebrandt 755b915a15 treewide: Remove indefinite article from meta.description
nix run nixpkgs#silver-searcher -- -G '\.nix$' -0l 'description.*"[Aa]n?' pkgs \
  | xargs -0 nix run nixpkgs#gnused -- -i '' -Ee 's/(description.*")[Aa]n? (.)/\1\U\2/'
2024-06-09 23:07:45 +02:00

44 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;
};
}