mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-01 10:00:56 +00:00
76999cc40e
This makes the command ‘nix-env -qa -f. --arg config '{skipAliases = true;}'’ work in Nixpkgs. Misc... - qtikz: use libsForQt5.callPackage This ensures we get the right poppler. - rewrites: docbook5_xsl -> docbook_xsl_ns docbook_xml_xslt -> docbook_xsl diffpdf: fixup
35 lines
1 KiB
Nix
35 lines
1 KiB
Nix
{ stdenv, fetchgit, cmake, perl
|
|
, alsaLib, libevdev, libopus, udev, SDL2
|
|
, ffmpeg, pkgconfig, xorg, libvdpau, libpulseaudio, libcec
|
|
, curl, expat, avahi, enet, libuuid
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
name = "moonlight-embedded-${version}";
|
|
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}";
|
|
sha256 = "0vs6rjmz8058s9lscagiif6pcizwfrvfpk9rxxgacfi0xisfgmf1";
|
|
};
|
|
|
|
outputs = [ "out" "man" ];
|
|
|
|
nativeBuildInputs = [ cmake perl ];
|
|
buildInputs = [
|
|
alsaLib libevdev libopus udev 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;
|
|
};
|
|
}
|