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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

36 lines
1017 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 18:07:27 +00:00
, curl, expat, avahi, libuuid, libva
}:
stdenv.mkDerivation rec {
pname = "moonlight-embedded";
2022-09-24 17:02:28 +00:00
version = "2.5.3";
src = fetchFromGitHub {
2021-08-15 18:07:27 +00:00
owner = "moonlight-stream";
repo = "moonlight-embedded";
rev = "v${version}";
2022-09-24 17:02:28 +00:00
sha256 = "sha256-TUS0eTlQA7O59EvJHrQkqDQexv84ucza6kE4t98AGPs=";
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 18:07:27 +00:00
xorg.libpthreadstubs curl expat avahi libuuid libva
];
meta = with lib; {
description = "Open source implementation of NVIDIA's GameStream";
2021-08-15 18:07:27 +00:00
homepage = "https://github.com/moonlight-stream/moonlight-embedded";
license = licenses.gpl3Plus;
maintainers = [ maintainers.globin ];
platforms = platforms.linux;
};
}