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";
|
2022-02-11 15:39:33 +00:00
|
|
|
version = "1.1.5";
|
2018-08-01 20:39:09 +01:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "openconnect";
|
|
|
|
repo = "ocserv";
|
2021-10-27 04:57:16 +01:00
|
|
|
rev = version;
|
2022-02-11 15:39:33 +00:00
|
|
|
sha256 = "sha256-mb1xmv2jM8XpKiUX/IlVctKUimMeF1oMDnT6YMZ0nCY=";
|
2018-08-01 20:39:09 +01:00
|
|
|
};
|
|
|
|
|
2022-02-11 15:39:33 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook gperf pkg-config ronn ];
|
|
|
|
buildInputs = [ nettle gnutls libev protobufc guile geoip libseccomp readline lz4 libgssglue pam ];
|
2018-08-01 20:39:09 +01:00
|
|
|
|
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";
|
2022-02-11 15:39:33 +00:00
|
|
|
license = licenses.gpl2Plus;
|
|
|
|
description = "OpenConnect VPN server (ocserv), a server for the OpenConnect VPN client";
|
2021-10-27 04:57:16 +01:00
|
|
|
maintainers = with maintainers; [ neverbehave ];
|
2018-08-01 20:39:09 +01:00
|
|
|
};
|
|
|
|
}
|