moonlight-embedded: use fetchFromGitHub instead of fetchgit

This commit is contained in:
schneefux 2018-10-08 13:33:48 +02:00
parent fc1aaf8613
commit 8d4c3a08e3

View File

@ -1,4 +1,4 @@
{ stdenv, fetchgit, cmake, perl { stdenv, fetchFromGitHub, cmake, perl
, alsaLib, libevdev, libopus, udev, SDL2 , alsaLib, libevdev, libopus, udev, SDL2
, ffmpeg, pkgconfig, xorg, libvdpau, libpulseaudio, libcec , ffmpeg, pkgconfig, xorg, libvdpau, libpulseaudio, libcec
, curl, expat, avahi, enet, libuuid , curl, expat, avahi, enet, libuuid
@ -8,11 +8,12 @@ stdenv.mkDerivation rec {
name = "moonlight-embedded-${version}"; name = "moonlight-embedded-${version}";
version = "2.4.6"; version = "2.4.6";
# fetchgit used to ensure submodules are available src = fetchFromGitHub {
src = fetchgit { owner = "irtimmer";
url = "git://github.com/irtimmer/moonlight-embedded"; repo = "moonlight-embedded";
rev = "refs/tags/v${version}"; rev = "v${version}";
sha256 = "0vs6rjmz8058s9lscagiif6pcizwfrvfpk9rxxgacfi0xisfgmf1"; sha256 = "0vs6rjmz8058s9lscagiif6pcizwfrvfpk9rxxgacfi0xisfgmf1";
fetchSubmodules = true;
}; };
outputs = [ "out" "man" ]; outputs = [ "out" "man" ];