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