e7ec2969af
GitOrigin-RevId: 9b19f5e77dd906cb52dade0b7bd280339d2a1f3d
26 lines
857 B
Nix
26 lines
857 B
Nix
{ lib, stdenv, fetchFromGitLab, autoreconfHook, pkg-config, nettle, gnutls
|
|
, libev, protobufc, guile, geoip, libseccomp, gperf, readline
|
|
, lz4, libgssglue, ronn, pam, libxcrypt
|
|
}:
|
|
|
|
stdenv.mkDerivation rec {
|
|
pname = "ocserv";
|
|
version = "1.2.3";
|
|
|
|
src = fetchFromGitLab {
|
|
owner = "openconnect";
|
|
repo = "ocserv";
|
|
rev = version;
|
|
sha256 = "sha256-PHAhkHEbt5CsVc5gr/gh+xR7wfRb752bpz301g5ra9s=";
|
|
};
|
|
|
|
nativeBuildInputs = [ autoreconfHook gperf pkg-config ronn ];
|
|
buildInputs = [ nettle gnutls libev protobufc guile geoip libseccomp readline lz4 libgssglue pam libxcrypt ];
|
|
|
|
meta = with lib; {
|
|
homepage = "https://gitlab.com/openconnect/ocserv";
|
|
license = licenses.gpl2Plus;
|
|
description = "OpenConnect VPN server (ocserv), a server for the OpenConnect VPN client";
|
|
maintainers = with maintainers; [ neverbehave ];
|
|
};
|
|
}
|