mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-05 05:13:04 +00:00
35 lines
1.0 KiB
Nix
35 lines
1.0 KiB
Nix
{ stdenv, fetchgit, cmake, perl
|
|
, alsaLib, libevdev, libopus, libudev, SDL2
|
|
, ffmpeg, pkgconfig, xorg, libvdpau, libpulseaudio, libcec
|
|
, curl, expat, avahi, enet, libuuid
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "moonlight-embedded-${version}";
|
|
version = "2.2.3";
|
|
|
|
# fetchgit used to ensure submodules are available
|
|
src = fetchgit {
|
|
url = "git://github.com/irtimmer/moonlight-embedded";
|
|
rev = "refs/tags/v${version}";
|
|
sha256 = "0m1114dsz44rvq402b4v5ib2cwj2vbasir0l8vi0q5iymwmsvxj4";
|
|
};
|
|
|
|
outputs = [ "out" "doc" ];
|
|
|
|
nativeBuildInputs = [ cmake perl ];
|
|
buildInputs = [
|
|
alsaLib libevdev libopus libudev SDL2
|
|
ffmpeg pkgconfig xorg.libxcb libvdpau libpulseaudio libcec
|
|
xorg.libpthreadstubs curl expat avahi enet libuuid
|
|
];
|
|
|
|
meta = with stdenv.lib; {
|
|
description = "Open source implementation of NVIDIA's GameStream";
|
|
homepage = https://github.com/irtimmer/moonlight-embedded;
|
|
license = licenses.gpl3;
|
|
maintainers = [ maintainers.globin ];
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|