nixpkgs/pkgs/tools/networking/ocserv/default.nix

27 lines
841 B
Nix
Raw Normal View History

2021-01-17 03:51:22 +00:00
{ lib, stdenv, fetchFromGitLab, autoreconfHook, pkg-config, nettle, gnutls
, libev, protobufc, guile, geoip, libseccomp, gperf, readline
, lz4, libgssglue, ronn, pam
}:
stdenv.mkDerivation rec {
pname = "ocserv";
2021-10-27 03:57:16 +00:00
version = "1.1.2";
src = fetchFromGitLab {
owner = "openconnect";
repo = "ocserv";
2021-10-27 03:57:16 +00:00
rev = version;
sha256 = "gXolG4zTnJpgI32SuudhvlP9snI0k4Oa1mqE7eGbdE0=";
};
2021-01-17 03:51:22 +00:00
nativeBuildInputs = [ autoreconfHook pkg-config ];
buildInputs = [ nettle gnutls libev protobufc guile geoip libseccomp gperf readline lz4 libgssglue ronn pam ];
meta = with lib; {
homepage = "https://gitlab.com/openconnect/ocserv";
license = licenses.gpl2;
description = "This program is openconnect VPN server (ocserv), a server for the openconnect VPN client";
2021-10-27 03:57:16 +00:00
maintainers = with maintainers; [ neverbehave ];
};
}