2019-03-03 00:32:22 +00:00
|
|
|
{ lib, stdenv, fetchFromGitHub
|
|
|
|
, autoreconfHook, pkg-config
|
|
|
|
, libqb, libxml2, libnl, lksctp-tools
|
|
|
|
, nss, openssl, bzip2, lzo, lz4, xz, zlib, zstd
|
|
|
|
, doxygen
|
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "kronosnet";
|
2021-05-09 00:19:11 +00:00
|
|
|
version = "1.21";
|
2019-03-03 00:32:22 +00:00
|
|
|
|
|
|
|
src = fetchFromGitHub {
|
|
|
|
owner = pname;
|
|
|
|
repo = pname;
|
|
|
|
rev = "v${version}";
|
2021-05-09 00:19:11 +00:00
|
|
|
sha256 = "14i4fl3g60gn5ay3dbwjcay3dnmnqr16zcp3g0wv9a3hjwh1if28";
|
2019-03-03 00:32:22 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config doxygen ];
|
|
|
|
|
|
|
|
buildInputs = [
|
|
|
|
libqb libxml2 libnl lksctp-tools
|
|
|
|
nss openssl
|
|
|
|
bzip2 lzo lz4 xz zlib zstd
|
|
|
|
];
|
|
|
|
|
|
|
|
meta = with lib; {
|
|
|
|
description = "VPN on steroids";
|
|
|
|
homepage = "https://kronosnet.org/";
|
|
|
|
license = with licenses; [ lgpl21Plus gpl2Plus ];
|
|
|
|
maintainers = with maintainers; [ ryantm ];
|
|
|
|
};
|
|
|
|
}
|