azure-storage-azcopy: 10.27.1 -> 10.28.0 (#377459)
[NixPkgs.git] / pkgs / by-name / mo / moonlight-embedded / package.nix
blob208338644096819c7a0389028c44df76ce9735f6
2   lib,
3   stdenv,
4   fetchFromGitHub,
5   cmake,
6   perl,
7   alsa-lib,
8   libevdev,
9   libopus,
10   udev,
11   SDL2,
12   ffmpeg,
13   pkg-config,
14   xorg,
15   libvdpau,
16   libpulseaudio,
17   libcec,
18   curl,
19   expat,
20   avahi,
21   libuuid,
22   libva,
25 stdenv.mkDerivation rec {
26   pname = "moonlight-embedded";
27   version = "2.7.0";
29   src = fetchFromGitHub {
30     owner = "moonlight-stream";
31     repo = "moonlight-embedded";
32     rev = "v${version}";
33     hash = "sha256-Jc706BjIT3rS9zwntNOdgszP4CHuX+qxvPvWeU68Amg=";
34     fetchSubmodules = true;
35   };
37   outputs = [
38     "out"
39     "man"
40   ];
42   nativeBuildInputs = [
43     cmake
44     perl
45     pkg-config
46   ];
47   buildInputs = [
48     alsa-lib
49     libevdev
50     libopus
51     udev
52     SDL2
53     ffmpeg
54     xorg.libxcb
55     libvdpau
56     libpulseaudio
57     libcec
58     xorg.libpthreadstubs
59     curl
60     expat
61     avahi
62     libuuid
63     libva
64   ];
66   meta = with lib; {
67     description = "Open source implementation of NVIDIA's GameStream";
68     homepage = "https://github.com/moonlight-stream/moonlight-embedded";
69     license = licenses.gpl3Plus;
70     maintainers = [ ];
71     mainProgram = "moonlight";
72     platforms = platforms.linux;
73   };