3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/applications/misc/moonlight-embedded/default.nix

36 lines
1,018 B
Nix
Raw Normal View History

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