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