nixpkgs/pkgs/applications/misc/moonlight-embedded/default.nix

35 lines
1 KiB
Nix
Raw Normal View History

{ 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}";
2018-01-16 21:55:16 +01:00
version = "2.4.6";
# fetchgit used to ensure submodules are available
src = fetchgit {
url = "git://github.com/irtimmer/moonlight-embedded";
rev = "refs/tags/v${version}";
2018-01-16 21:55:16 +01:00
sha256 = "0vs6rjmz8058s9lscagiif6pcizwfrvfpk9rxxgacfi0xisfgmf1";
};
outputs = [ "out" "man" ];
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;
};
}