diff options
-rw-r--r-- | pkgs/tools/networking/tinc/pre.nix | 9 |
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" ]; |