about summary refs log tree commit diff
path: root/pkgs/tools/networking/tinc
diff options
context:
space:
mode:
authorJörg Thalheim <joerg@thalheim.io>2023-01-27 21:01:42 +0100
committerJörg Thalheim <joerg@thalheim.io>2023-01-27 21:02:04 +0100
commit74743e23077ee5bec4c0391feb64be6e75f42f9e (patch)
tree632fb8d51aa0a39f061fed8caef9baf4b542baa6 /pkgs/tools/networking/tinc
parentc878d5c5b3fc567b42319c4eed9a918b598133de (diff)
tinc_pre: use https source for fetching
Diffstat (limited to 'pkgs/tools/networking/tinc')
-rw-r--r--pkgs/tools/networking/tinc/pre.nix9
1 files changed, 5 insertions, 4 deletions
diff --git a/pkgs/tools/networking/tinc/pre.nix b/pkgs/tools/networking/tinc/pre.nix
index 173d2432a7723..24f96e63d7996 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" ];