2021-01-17 04:51:22 +01:00
|
|
|
{ lib, stdenv, fetchFromGitHub, bison, meson, ninja, pkg-config
|
2020-05-23 10:21:30 +02:00
|
|
|
, libuecc, libsodium, libcap, json_c, openssl }:
|
2016-10-13 21:41:22 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "fastd";
|
2020-10-19 22:07:35 +02:00
|
|
|
version = "21";
|
2016-10-13 21:41:22 +02:00
|
|
|
|
2020-05-23 10:21:30 +02:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Neoraider";
|
|
|
|
repo = "fastd";
|
|
|
|
rev = "v${version}";
|
2020-10-19 22:07:35 +02:00
|
|
|
sha256 = "1p4k50dk8byrghbr0fwmgwps8df6rlkgcd603r14i71m5g27z5gw";
|
2016-10-13 21:41:22 +02:00
|
|
|
};
|
|
|
|
|
2021-01-17 04:51:22 +01:00
|
|
|
nativeBuildInputs = [ pkg-config bison meson ninja ];
|
2020-05-23 10:21:30 +02:00
|
|
|
buildInputs = [ libuecc libsodium libcap json_c openssl ];
|
|
|
|
|
2016-10-13 21:41:22 +02:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-11 08:54:33 +01:00
|
|
|
meta = with lib; {
|
2016-10-13 21:41:22 +02:00
|
|
|
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 ];
|
|
|
|
};
|
|
|
|
}
|