From 74743e23077ee5bec4c0391feb64be6e75f42f9e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= Date: Fri, 27 Jan 2023 21:01:42 +0100 Subject: [PATCH] tinc_pre: use https source for fetching --- pkgs/tools/networking/tinc/pre.nix | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/pkgs/tools/networking/tinc/pre.nix b/pkgs/tools/networking/tinc/pre.nix index 173d2432a772..24f96e63d799 100644 --- a/pkgs/tools/networking/tinc/pre.nix +++ b/pkgs/tools/networking/tinc/pre.nix @@ -1,13 +1,14 @@ -{ lib, stdenv, fetchgit, fetchpatch, autoreconfHook, texinfo, ncurses, readline, zlib, lzo, openssl }: +{ lib, stdenv, fetchFromGitHub, fetchpatch, autoreconfHook, texinfo, ncurses, readline, zlib, lzo, openssl }: stdenv.mkDerivation rec { pname = "tinc"; version = "1.1pre18"; - src = fetchgit { + src = fetchFromGitHub { + owner = "gsliepen"; + repo = "tinc"; rev = "release-${version}"; - url = "git://tinc-vpn.org/tinc"; - sha256 = "0a7d1xg34p54sv66lckn8rz2bpg7bl01najm2rxiwbsm956y7afm"; + hash = "sha256-1anjTUlVLx57FlUqGwBd590lfkZ2MmrM1qRcMl4P7Sg="; }; outputs = [ "out" "man" "info" ];