tdesktop: use fetchFromGitHub instead of fetchgit

This commit is contained in:
schneefux 2018-10-08 14:29:28 +02:00
parent 3831ed4ad2
commit 314593950e

View File

@ -1,6 +1,6 @@
{ stable, version, sha256Hash, archPatchesRevision, archPatchesHash }: { stable, version, sha256Hash, archPatchesRevision, archPatchesHash }:
{ mkDerivation, lib, fetchgit, fetchsvn { mkDerivation, lib, fetchFromGitHub, fetchsvn
, pkgconfig, pythonPackages, cmake, wrapGAppsHook , pkgconfig, pythonPackages, cmake, wrapGAppsHook
, qtbase, qtimageformats, gtk3, libappindicator-gtk3, libnotify, xdg_utils , qtbase, qtimageformats, gtk3, libappindicator-gtk3, libnotify, xdg_utils
, dee, ffmpeg, openalSoft, minizip, libopus, alsaLib, libpulseaudio, range-v3 , dee, ffmpeg, openalSoft, minizip, libopus, alsaLib, libpulseaudio, range-v3
@ -13,8 +13,9 @@ mkDerivation rec {
inherit version; inherit version;
# Telegram-Desktop with submodules # Telegram-Desktop with submodules
src = fetchgit { src = fetchFromGitHub {
url = "git://github.com/telegramdesktop/tdesktop"; owner = "telegramdesktop";
repo = "tdesktop";
rev = "v${version}"; rev = "v${version}";
sha256 = sha256Hash; sha256 = sha256Hash;
fetchSubmodules = true; fetchSubmodules = true;