3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/pkgs/tools/networking/ocserv/default.nix
2022-02-25 10:56:57 -08:00

27 lines
836 B
Nix

{ lib, stdenv, fetchFromGitLab, autoreconfHook, pkg-config, nettle, gnutls
, libev, protobufc, guile, geoip, libseccomp, gperf, readline
, lz4, libgssglue, ronn, pam
}:
stdenv.mkDerivation rec {
pname = "ocserv";
version = "1.1.6";
src = fetchFromGitLab {
owner = "openconnect";
repo = "ocserv";
rev = version;
sha256 = "sha256-1grRt0F/myVzK+DMSeK5K0Ui8bJANEtE6/6IY+ZbPAw=";
};
nativeBuildInputs = [ autoreconfHook gperf pkg-config ronn ];
buildInputs = [ nettle gnutls libev protobufc guile geoip libseccomp readline lz4 libgssglue pam ];
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 ];
};
}