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";
|
2022-03-05 16:20:37 +00:00
|
|
|
version = "1.1.6";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "openconnect";
|
|
|
|
repo = "ocserv";
|
2021-12-06 16:07:01 +00:00
|
|
|
rev = version;
|
2022-03-05 16:20:37 +00:00
|
|
|
sha256 = "sha256-1grRt0F/myVzK+DMSeK5K0Ui8bJANEtE6/6IY+ZbPAw=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-02-20 05:27:41 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook gperf pkg-config ronn ];
|
|
|
|
buildInputs = [ nettle gnutls libev protobufc guile geoip libseccomp readline lz4 libgssglue pam ];
|
2020-04-24 23:36:52 +00:00
|
|
|
|
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";
|
2022-02-20 05:27:41 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
description = "OpenConnect VPN server (ocserv), a server for the OpenConnect VPN client";
|
2021-12-06 16:07:01 +00:00
|
|
|
maintainers = with maintainers; [ neverbehave ];
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
}
|