depot/third_party/nixpkgs/pkgs/applications/misc/moonlight-embedded/default.nix
Default email 5e7c2d6cef Project import generated by Copybara.
GitOrigin-RevId: f99e5f03cc0aa231ab5950a15ed02afec45ed51a
2023-10-09 21:29:22 +02:00

35 lines
1,017 B
Nix

{ lib, stdenv, fetchFromGitHub, cmake, perl
, alsa-lib, libevdev, libopus, udev, SDL2
, ffmpeg, pkg-config, xorg, libvdpau, libpulseaudio, libcec
, curl, expat, avahi, libuuid, libva
}:
stdenv.mkDerivation rec {
pname = "moonlight-embedded";
version = "2.6.0";
src = fetchFromGitHub {
owner = "moonlight-stream";
repo = "moonlight-embedded";
rev = "v${version}";
sha256 = "sha256-BZYFN6X6UNllwlovnpEwDSocA5ZfSDUOyr8JTg4z9ak=";
fetchSubmodules = true;
};
outputs = [ "out" "man" ];
nativeBuildInputs = [ cmake perl pkg-config ];
buildInputs = [
alsa-lib libevdev libopus udev SDL2
ffmpeg xorg.libxcb libvdpau libpulseaudio libcec
xorg.libpthreadstubs curl expat avahi libuuid libva
];
meta = with lib; {
description = "Open source implementation of NVIDIA's GameStream";
homepage = "https://github.com/moonlight-stream/moonlight-embedded";
license = licenses.gpl3Plus;
maintainers = [ maintainers.globin ];
platforms = platforms.linux;
};
}