nixpkgs/pkgs/tools/networking/fastd/default.nix

28 lines
785 B
Nix
Raw Normal View History

2020-10-19 20:07:35 +00:00
{ stdenv, fetchFromGitHub, bison, meson, ninja, pkgconfig
2020-05-23 08:21:30 +00:00
, libuecc, libsodium, libcap, json_c, openssl }:
2016-10-13 19:41:22 +00:00
stdenv.mkDerivation rec {
pname = "fastd";
2020-10-19 20:07:35 +00:00
version = "21";
2016-10-13 19:41:22 +00:00
2020-05-23 08:21:30 +00:00
src = fetchFromGitHub {
owner = "Neoraider";
repo = "fastd";
rev = "v${version}";
2020-10-19 20:07:35 +00:00
sha256 = "1p4k50dk8byrghbr0fwmgwps8df6rlkgcd603r14i71m5g27z5gw";
2016-10-13 19:41:22 +00:00
};
2020-10-19 20:07:35 +00:00
nativeBuildInputs = [ pkgconfig bison meson ninja ];
2020-05-23 08:21:30 +00:00
buildInputs = [ libuecc libsodium libcap json_c openssl ];
2016-10-13 19:41:22 +00:00
enableParallelBuilding = true;
meta = with stdenv.lib; {
description = "Fast and Secure Tunneling Daemon";
homepage = "https://projects.universe-factory.net/projects/fastd/wiki";
2016-10-13 19:41:22 +00:00
license = with licenses; [ bsd2 bsd3 ];
2016-10-13 20:02:36 +00:00
platforms = platforms.linux;
2016-10-13 19:41:22 +00:00
maintainers = with maintainers; [ fpletz ];
};
}