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
|
2022-10-30 15:09:59 +00:00
|
|
|
, lz4, libgssglue, ronn, pam, libxcrypt
|
2020-04-24 23:36:52 +00:00
|
|
|
}:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
pname = "ocserv";
|
2024-02-07 01:22:34 +00:00
|
|
|
version = "1.2.4";
|
2020-04-24 23:36:52 +00:00
|
|
|
|
|
|
|
src = fetchFromGitLab {
|
|
|
|
owner = "openconnect";
|
|
|
|
repo = "ocserv";
|
2021-12-06 16:07:01 +00:00
|
|
|
rev = version;
|
2024-02-07 01:22:34 +00:00
|
|
|
sha256 = "sha256-IYiYC9oAw35YjpptUEnhuZQqoDevku25r7qi6SG8xtk=";
|
2020-04-24 23:36:52 +00:00
|
|
|
};
|
|
|
|
|
2022-02-20 05:27:41 +00:00
|
|
|
nativeBuildInputs = [ autoreconfHook gperf pkg-config ronn ];
|
2022-10-30 15:09:59 +00:00
|
|
|
buildInputs = [ nettle gnutls libev protobufc guile geoip libseccomp readline lz4 libgssglue pam libxcrypt ];
|
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
|
|
|
};
|
|
|
|
}
|