mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-15 06:14:57 +01:00
aab1113d4a
grep -rP 'maintainers = \[\];'
36 lines
1 KiB
Nix
36 lines
1 KiB
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.7.0";
|
|
|
|
src = fetchFromGitHub {
|
|
owner = "moonlight-stream";
|
|
repo = "moonlight-embedded";
|
|
rev = "v${version}";
|
|
hash = "sha256-Jc706BjIT3rS9zwntNOdgszP4CHuX+qxvPvWeU68Amg=";
|
|
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 = [ ];
|
|
mainProgram = "moonlight";
|
|
platforms = platforms.linux;
|
|
};
|
|
}
|