1{ fetchurl, stdenv, autoconf, automake, libtool, autoreconfHook
2, openssl, libcap, libnfnetlink, libnetfilter_queue
3}:
4
5stdenv.mkDerivation rec {
6 name = "tcpcrypt-0.3-rc1";
7
8 src = fetchurl {
9 url = "https://github.com/scslab/tcpcrypt/archive/v0.3-rc1.tar.gz";
10 sha256 = "1k79xfip95kyy91b6rnmsgl66g52zrnm92ln4jms133nm2k9s4sa";
11 name = "${name}.tar.gz";
12 };
13
14 dontStrip = true;
15
16 buildInputs = [ autoreconfHook autoconf automake libtool openssl libcap libnfnetlink libnetfilter_queue ];
17
18 postUnpack = ''
19 mkdir $sourceRoot/m4
20 '';
21
22 meta = {
23 homepage = "http://tcpcrypt.org/";
24 description = "enable opportunistic encryption of all TCP traffic";
25
26 maintainers = [ stdenv.lib.maintainers.simons ];
27 platforms = stdenv.lib.platforms.linux;
28 };
29}