2021-01-17 03:51:22 +00:00
|
|
|
{ lib, stdenv, fetchFromGitLab, autoreconfHook, pkg-config, nettle, gnutls
|
2018-08-01 20:39:09 +01:00
|
|
|
, libev, protobufc, guile, geoip, libseccomp, gperf, readline
|
2019-06-16 20:59:06 +01:00
|
|
|
, lz4, libgssglue, ronn, pam
|
2018-08-01 20:39:09 +01:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 13:41:18 +01:00
|
|
|
pname = "ocserv";
|
2020-01-07 05:12:15 +00:00
|
|
|
version = "0.12.6";
|
2018-08-01 20:39:09 +01:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "openconnect";
|
|
|
|
repo = "ocserv";
|
2021-01-15 09:19:50 +00:00
|
|
|
rev = "ocserv_${lib.replaceStrings [ "." ] [ "_" ] version}";
|
2020-01-07 05:12:15 +00:00
|
|
|
sha256 = "0k7sx9sg8akxwfdl51cvdqkdrx9qganqddgri2yhcgznc3f3pz5b";
|
2018-08-01 20:39:09 +01:00
|
|
|
};
|
|
|
|
|
2021-01-17 03:51:22 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
2018-08-01 20:39:09 +01:00
|
|
|
buildInputs = [ nettle gnutls libev protobufc guile geoip libseccomp gperf readline lz4 libgssglue ronn pam ];
|
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 02:11:51 +01:00
|
|
|
homepage = "https://gitlab.com/openconnect/ocserv";
|
2018-08-01 20:39:09 +01:00
|
|
|
license = licenses.gpl2;
|
2020-10-11 06:55:05 +01:00
|
|
|
description = "This program is openconnect VPN server (ocserv), a server for the openconnect VPN client";
|
2019-12-26 14:13:48 +00:00
|
|
|
maintainers = with maintainers; [ ];
|
2018-08-01 20:39:09 +01:00
|
|
|
};
|
|
|
|
}
|