2016-10-13 21:41:22 +02:00
|
|
|
{ stdenv, fetchgit, cmake, bison, pkgconfig
|
|
|
|
, libuecc, libsodium, libcap, json_c }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
version = "18";
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "fastd";
|
2016-10-13 21:41:22 +02:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "git://git.universe-factory.net/fastd";
|
|
|
|
rev = "refs/tags/v${version}";
|
|
|
|
sha256 = "0c9v3igv3812b3jr7jk75a2np658yy00b3i4kpbpdjgvqzc1jrq8";
|
|
|
|
};
|
|
|
|
|
2017-10-15 15:26:14 +02:00
|
|
|
postPatch = ''
|
|
|
|
substituteInPlace src/crypto/cipher/CMakeLists.txt \
|
|
|
|
--replace 'add_subdirectory(aes128_ctr)' ""
|
|
|
|
'';
|
|
|
|
|
2016-10-13 21:41:22 +02:00
|
|
|
nativeBuildInputs = [ pkgconfig bison cmake ];
|
|
|
|
buildInputs = [ libuecc libsodium libcap json_c ];
|
|
|
|
|
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
|
|
|
meta = with stdenv.lib; {
|
|
|
|
description = "Fast and Secure Tunneling Daemon";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://projects.universe-factory.net/projects/fastd/wiki";
|
2016-10-13 21:41:22 +02:00
|
|
|
license = with licenses; [ bsd2 bsd3 ];
|
2016-10-13 22:02:36 +02:00
|
|
|
platforms = platforms.linux;
|
2016-10-13 21:41:22 +02:00
|
|
|
maintainers = with maintainers; [ fpletz ];
|
|
|
|
};
|
|
|
|
}
|