2021-01-17 03:51:22 +00:00
|
|
|
{ lib, stdenv, fetchFromGitLab, autoreconfHook, pkg-config, nettle, gnutls
|
2018-08-01 19:39:09 +00:00
|
|
|
, libev, protobufc, guile, geoip, libseccomp, gperf, readline
|
2022-10-03 15:26:05 +00:00
|
|
|
, lz4, libgssglue, ronn, pam, libxcrypt
|
2018-08-01 19:39:09 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 12:41:18 +00:00
|
|
|
pname = "ocserv";
|
2023-06-04 09:54:06 +00:00
|
|
|
version = "1.1.7";
|
2018-08-01 19:39:09 +00:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "openconnect";
|
|
|
|
repo = "ocserv";
|
2021-10-27 03:57:16 +00:00
|
|
|
rev = version;
|
2023-06-04 09:54:06 +00:00
|
|
|
sha256 = "sha256-30S2puoL+5cBZ5nCKW2zvGPcnFvaKjRZVGKDC3E5XRk=";
|
2018-08-01 19:39:09 +00:00
|
|
|
};
|
|
|
|
|
2022-02-11 15:39:33 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook gperf pkg-config ronn ];
|
2022-10-03 15:26:05 +00:00
|
|
|
buildInputs = [ nettle gnutls libev protobufc guile geoip libseccomp readline lz4 libgssglue pam libxcrypt ];
|
2018-08-01 19:39:09 +00:00
|
|
|
|
2021-01-11 07:54:33 +00:00
|
|
|
meta = with lib; {
|
2020-04-01 01:11:51 +00: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 03:57:16 +00:00
|
|
|
maintainers = with maintainers; [ neverbehave ];
|
2018-08-01 19:39:09 +00:00
|
|
|
};
|
|
|
|
}
|