9 stdenv.mkDerivation rec {
13 src = fetchFromGitHub {
17 sha256 = "sha256-Uc3PeTf/ow9p8noPcMLdT6S5dks9igDU6CC9koy+ff4=";
20 buildInputs = [ libpcap ];
23 substituteInPlace l2tp.h --replace /usr/sbin/pppd ${ppp}/sbin/pppd
26 makeFlags = [ "PREFIX=$(out)" ];
29 homepage = src.meta.homepage;
30 description = "Layer 2 Tunnelling Protocol Daemon (RFC 2661)";
31 platforms = platforms.linux;
32 license = licenses.gpl2Plus;
33 maintainers = with maintainers; [ abbradar ];