1 { lib, stdenv, fetchurl, nettools, iproute2, judy }:
3 stdenv.mkDerivation rec {
7 buildInputs = [ judy ];
10 url = "https://www.remlab.net/files/miredo/miredo-${version}.tar.xz";
11 sha256 = "0j9ilig570snbmj48230hf7ms8kvcwi2wblycqrmhh85lksd49ps";
15 substituteInPlace misc/client-hook.bsd \
16 --replace '/sbin/route' '${nettools}/bin/route' \
17 --replace '/sbin/ifconfig' '${nettools}/bin/ifconfig'
18 substituteInPlace misc/client-hook.iproute --replace '/sbin/ip' '${iproute2}/bin/ip'
21 configureFlags = [ "--with-Judy" ];
24 rm -rf $out/lib/systemd $out/var $out/etc/miredo/miredo.conf
28 description = "Teredo IPv6 Tunneling Daemon";
29 homepage = "https://www.remlab.net/miredo/";
30 license = licenses.gpl2Plus;
32 platforms = platforms.unix;