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
, ffmpeg, pkgconfig, xorg, libvdpau, libpulseaudio, libcec
, curl, expat, avahi, enet, libuuid
@ -8,11 +8,12 @@ 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}";
src = fetchFromGitHub {
owner = "irtimmer";
repo = "moonlight-embedded";
rev = "v${version}";
sha256 = "0vs6rjmz8058s9lscagiif6pcizwfrvfpk9rxxgacfi0xisfgmf1";
fetchSubmodules = true;
};
outputs = [ "out" "man" ];