2021-01-15 22:18:51 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub, bison, meson, ninja, pkgconfig
|
2020-05-29 06:06:01 +00:00
|
|
|
, libuecc, libsodium, libcap, json_c, openssl }:
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "fastd";
|
2020-10-27 00:29:36 +00:00
|
|
|
version = "21";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
2020-05-29 06:06:01 +00:00
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = "Neoraider";
|
|
|
|
repo = "fastd";
|
|
|
|
rev = "v${version}";
|
2020-10-27 00:29:36 +00:00
|
|
|
sha256 = "1p4k50dk8byrghbr0fwmgwps8df6rlkgcd603r14i71m5g27z5gw";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2020-10-27 00:29:36 +00:00
|
|
|
nativeBuildInputs = [ pkgconfig bison meson ninja ];
|
2020-05-29 06:06:01 +00:00
|
|
|
buildInputs = [ libuecc libsodium libcap json_c openssl ];
|
|
|
|
|
2020-04-24 23:36:52 +00:00
|
|
|
enableParallelBuilding = true;
|
|
|
|
|
2021-01-15 22:18:51 +00:00
|
|
|
meta = with lib; {
|
2020-04-24 23:36:52 +00:00
|
|
|
description = "Fast and Secure Tunneling Daemon";
|
|
|
|
homepage = "https://projects.universe-factory.net/projects/fastd/wiki";
|
|
|
|
license = with licenses; [ bsd2 bsd3 ];
|
|
|
|
platforms = platforms.linux;
|
|
|
|
maintainers = with maintainers; [ fpletz ];
|
|
|
|
};
|
|
|
|
}
|